Re: What is the smallest, fastest web server to run PHP and SSL (on a soekris box)

From: Date: Thu, 19 Oct 2006 00:20:28 +0000
Subject: Re: What is the smallest, fastest web server to run PHP and SSL (on a soekris box)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243323@lists.php.net to get a copy of this message
I've been through the research on that one a couple years ago, and I found that lighttpd/php-fcgi is the best combination... I've run lighttpd/php (FastCGI) on many soekris boxes. PHP runs beautifully. I've even done it in less than 8 megs of CF with uClibc/busybox. I've used the Soekris net4801s, 4501s and PC-Engines WRAP boards. I really have to say that I'm pretty impressed at how well PHP performs on a minimal CPU. If you want to chop resource usage, lighttpd is pretty slim and you can compile PHP with only the required modules built-in, and you only need to install the php fastcgi binary, nothing else. I've benchmarked apache v.s. lighttpd on my full-size box, and lighttpd holds it's own. It would probably destroy apache on a resource-limited box. On one of my 4801s, lighttpd is currently using 2M of memory, 10 PHP fastcgi processes appear to be using 36M. You could probably cut that down to however few processes you need. jon Daevid Vincent wrote:
I need to run a httpd server that can serve up PHP, SQL Lite, and SSL on a little Soekris box (ie. a 486 with 32MB RAM and 32MB CF storage). Can anyone recommend something? How small can Apache get? AppWeb? http://www.mbedthis.com http://www.appwebserver.org/ What about lighthttpd? http://www.lighttpd.net Or the httpd that comes in the kernel? tux? Related, does anyone know of a tutorial or something that will help to reduce Apache to only the things really needed for PHP, mySQL, SSL? Right now, our Apache memory footprint is an astounding 120MB !! ÐÆ5ÏÐ


« previous php.general (#243323) next »