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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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ÏÐ

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux