Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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.
share|improve this question
    
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 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 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 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 at 20:24
    
@t0mm13b see my answer below :) –  Izzy Feb 5 at 21:07
add comment

2 Answers 2

up vote 4 down vote accepted

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.

share|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 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 at 20:04
    
I'm testing AndroPHP right now. –  Giulio Muscarello Feb 5 at 20:23
1  
I swear this is so amazing. Brace yourselves, LAN parties are incoming. –  Giulio Muscarello Feb 5 at 20:33
add comment

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:

share|improve this answer
    
upvote for you sir! :D \o/ –  t0mm13b Feb 5 at 21:30
1  
Sir, thank you, sir! \o/ :) –  Izzy Feb 5 at 21:35
    
All of these except AndroPHP look like trialware (is that a word?). –  trysis Apr 20 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 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 at 21:47
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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