5

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.
5
  • 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. >_> Commented Feb 5, 2014 at 18:55
  • You might wish to take a look at my answer here for multiple candidates supporting PHP+MySQL and more. Commented Feb 5, 2014 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. Commented Feb 5, 2014 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/ :) Commented Feb 5, 2014 at 20:24
  • @t0mm13b see my answer below :) Commented Feb 5, 2014 at 21:07

2 Answers 2

4

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.

4
  • Neither satisfy the requirement, "is free for personal use" - one has a trial period and the other one is paid. Commented Feb 5, 2014 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. Commented Feb 5, 2014 at 20:04
  • I'm testing AndroPHP right now. Commented Feb 5, 2014 at 20:23
  • 1
    I swear this is so amazing. Brace yourselves, LAN parties are incoming. Commented Feb 5, 2014 at 20:33
3

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:

5
  • upvote for you sir! :D \o/ Commented Feb 5, 2014 at 21:30
  • All of these except AndroPHP look like trialware (is that a word?). Commented Apr 20, 2014 at 2:03
  • @trysis So you can find out if they fit your needs, and then buy the full version. Anything wrong with that? ;) Commented Apr 20, 2014 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. Commented Apr 20, 2014 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 ;) Commented Apr 21, 2014 at 11:57

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.