I'm looking to host simple web apps on my smartphone in a group (like a LAN party, just not as hardcore).
Because of both lack of portability and lack of specific programming skills, I can't just develop a client app to play. Therefore, I need a server - preferably an HTTP one - which can serve dynamic content. I already found many servers to host static files, and I also found a few servers supporting PHP as a scripting language, but I couldn't find any app that did all these things at once:

  • Be a server, i.e. support connections from the local network;
  • Serve dynamic content, i.e. parse and execute scripts which I can edit;
  • Is free for personal use.
  • Wow. I'd be very surprised if you found a php server that runs on Android. *googles* OKAY LET ME GET MY FOOT OUT OF MY MOUTH. >_> – dotVezz Feb 5 '14 at 18:55
  • You might wish to take a look at my answer here for multiple candidates supporting PHP+MySQL and more. – Izzy Feb 5 '14 at 19:44
  • @Izzy I found a decent server from the answer you linked. You might want to post an answer so I can accept it. – Giulio Muscarello Feb 5 '14 at 19:58
  • Very interesting, now, can you go one step further and use noip, to point to your smartphone's IP address and hit on your blog? (Am sure WP can be hacked to run off the sdcard?) then... profit? \o/ :) – t0mm13b Feb 5 '14 at 20:24
  • @t0mm13b see my answer below :) – Izzy Feb 5 '14 at 21:07

AndroPHP looks like it'll fill your needs quite nicely.

You can...

  • Deply dynamic PHP content
  • Serve pages over LAN
  • Use a MySQL Database

Heck, this'd be awesome for all sorts of events. Have people whip out their phones, navigate to your locally hosted signup form, etc, then export the mysql tables out later.

| improve this answer | |
  • Neither satisfy the requirement, "is free for personal use" - one has a trial period and the other one is paid. – Giulio Muscarello Feb 5 '14 at 19:57
  • @GiulioMuscarello Ah, I didn't realize that the first one was only a trial. I've updated the answer with one that seems to be real freeware. – dotVezz Feb 5 '14 at 20:04
  • I'm testing AndroPHP right now. – Giulio Muscarello Feb 5 '14 at 20:23
  • 1
    I swear this is so amazing. Brace yourselves, LAN parties are incoming. – Giulio Muscarello Feb 5 '14 at 20:33

That unfortunately needs some 3rd party app, as there's no "native" feature included with Android. Apps you might wish to check for this purpose include:

| improve this answer | |
  • upvote for you sir! :D \o/ – t0mm13b Feb 5 '14 at 21:30
  • All of these except AndroPHP look like trialware (is that a word?). – trysis Apr 20 '14 at 2:03
  • @trysis So you can find out if they fit your needs, and then buy the full version. Anything wrong with that? ;) – Izzy Apr 20 '14 at 5:06
  • No, it's just the OP said he only wanted free versions and someone already called out the other answerer for including free versions. The OP didn't say anything about trials, though. – trysis Apr 20 '14 at 21:47
  • Right. That's why my answer has one free candidate (to fulfill the request); think of the others as "something to consider as well". If they offer significant improvements, they might be worth the money. And after all, this answer is not just for the one who asked – for others, the "free" part might be a "nice-to-have", as they care more for the problem to be solved ;) – Izzy Apr 21 '14 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.