PHPeverywhere: Tuning Apache and PHP for Speed on Unix
[Thanks to John Lim for this link.]
Here is a compilation of tips on how to optimise Apache on Linux for PHP and CGI programs. Briefly covers benchmarking and monitoring your Web server, then dives into the details.
http://php.weblogs.com/tuning_apache_unix Here is my compilation of tips on how to optimise Apache on Linux for PHP and CGI programs. These tips can also apply to Perl and Python.
"General rule of thumb for hardware upgrades: For PHP scripts, the main bottleneck is the CPU. For static HTML/images, the bottleneck is RAM and the network. A slow 400 Mhz Pentium can saturate a T3 line (that's 45 Mbps) with static HTML pages."