Sign in with
Sign up | Sign in
Your question

Most lightweight PHP webserver

Last response: in Linux/Free BSD
Share
December 3, 2009 7:16:06 PM

I'm looking for the most lightweight PHP webserver software out there.

Requirements:
- Least memory usage possible (RAM, hard drive usage doesn't really matter within reason).
- Will work on Ubuntu 9.10, 64 bit.
- Will act as a standard http server.
- Supports basic PHP functions.

Doesn't have to be that performant, as will only handle maybe 20 requests per hour maximum, outputting probably 2-3KB of HTML each time (no images).

Doesn't even have to be all that extensive in terms of PHP support as it will only run this one PHP script (or a similar one if I rewrite it):
http://www.tibble.net/2009/11/11/a-quick-php-web-interf...

I have checked on Google and came across a few possible option, but would appreciate any suggestions if anyone has any.

Thanks
December 22, 2009 5:28:33 PM

LAMP for ubuntu would probably be your best bet, unless you decided to run a minimalist distro virtually and then installed LAMP on it.
December 22, 2009 5:40:30 PM

I decided in lighttpd and php. LAMP is much heavier than I need, and it comes with MySQL (I don't require a database). I just didn't want to waste resources for just 1 tiny little php script.

Thanks anyway.
Related resources
January 9, 2010 4:18:51 AM

Hi,

I have installed lighttpd in my linux machine. But i dont want any of the mysql enabled features in my php. I need only basic php with file operations. Do you know how to remove the unwanted library files. I need my web server to be less than 8 MB.
January 13, 2010 12:35:45 AM

Sounds like you'll have to compile it by hand and disable everything you don't need.

Read up on "configure"

Good luck :) 
!