Tweaking Apache and PHP on UNIX for Performance

PHPEverywhere has a *great* list of things to do to get the most performance out of PHP and Apache on UNIX. Stock Apache-PHP is no slouch but when combined with the right settings, compression and caching it smokes.

For Apache there are some simple and very helpful guidelines. Dont do name lookups, increase sendBufferSize, etc. The list is definitely more aimed at PHP tweaks than Apache, but there are included Apache tips and links to further resources.

As for PHP, compression and caching make all the difference and are the most important things on the list. Use "ob_gzhandler" in your PHP config for automatic compression (or use mod_gzip in your apache with config for php and html, etc, for compression of whatever you want by mime type or extension). And use a PHP cache product. The BEST PHP cache product is of course the open source and free PHP Accelerator. Its an easy install and works automatically with all of your dynamic content.

There are a bunch of other great tips and resources on the list as well. Most of the items are ultra simple and can make a dramatic performance impact. Check it out via the link ----->>>.   Tuning Apache and PHP for Speed on Unix