Install APC for PHP on Ubuntu
APC is a very fast byte-code caching module for PHP. (It will become part of PHP6 in the future). By installing it, the performance of your PHP codes can be speed up by 200-300%.
To install it under Ubuntu,
# sudo apt-get install php-apc
Then restart Apache,
# sudo /etc/init.d/apache2 restart