I'm looking for a small (not more, than a few megs) web server, which must be capable of running PHP code (with external PHP installation). I would strongly prefer one where it is very easy to change the root directory often. My OS is Windows XP.
I saw these related SO questions:
- http://stackoverflow.com/questions/508909/portable-usb-webserver
- http://stackoverflow.com/questions/281884/a-small-web-server
XAMPP, however, is huge (I just installed it, its more than 200 Mb!); thttpd and lighttpd does not support PHP, others are even worse than those.
Right now I'm using Technologica HTTP Server, which is almost perfect, but unfortunately it is rather slow when serving PHP pages, since it starts a new instance of php.exe for each page request. What's worse, about every second time the PHP interpreter somehow locks up and times out after 10-15 seconds, making the whole thing even slower.
Are there any alternatives that I have missed?
Edit: LightTPD might be just it. It does support PHP after all.
Edit 2: Thanks for everyone's answers, they have been really helpful! I chose MicroApache because that's the smallest which satisfies all my requirements.