APC
From EpixStudios
On a production web server running PHP, having an accelerator is pretty much essential to reduce rendering times. Alternative PHP Cache (APC) is a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC can be easily installed under Gentoo with one command:
emerge -av dev-php5/pecl-apc
To enable caching, add the line:
extension=apc.so
to /etc/php/apache2-php5/php.ini and restart apache
/etc/init.d/apache2 restart
To view helpful caching statistics, copy the file
/usr/share/php5/apc/apc.php
somewhere in your website root (eg /var/www/localhost/htdocs/)/

