Is there a tutorial on how to install APC (Alternative PHP Cache on Debian 5.0).
Try installing it via aptitude: aptitude install php-apc Afterwars you can configure it in /etc/php5/conf.d/apc.ini Have a look at php-apc for configuration options.
Otherwise you could use "pecl" to install it via pecl install apc. Prequisite is to have the php5-dev module installed.
Using the dot.deb package will also allow you to use the latest version of PHP.
For the main Dotdeb repository, depending on your distribution (lenny/oldstable or squeeze/stable), add these two lines to your /etc/apt/sources.list file (choosing a mirror near you) :
(Optional) If you’re running Debian 5.0 “Lenny” and you want PHP 5.3 instead of the default PHP 5.2, add these two additionnal lines too :
You don’t need this if you’re running Debian 6.0 “Squeeze” : PHP 5.3 is the default branch
Then fetch the appropriate GnuPG key
cat dotdeb.gpg | sudo apt-key add -
You should now be able to use the Dotdeb packages with apt-get (or dselect, or aptitude as well…)
To install APC: