This is another one of my quick mini-guides for how to install Xcache php optimizer. We have found this to work very nicely on servers and can even work with zend and eaccelerator if you require both. We have found no stability issues with 1.2.1 and run it on several very large and important servers.
Download the source and start to compile:
cd /usr/local/src/
wget
http://xcache.lighttpd.net/pub/Relea...e-1.2.1.tar.gz
tar -zxf xcache-1.2.1.tar.gz
cd xcache-1.2.1
Next we have to run phpize, if it is not in a standard location you will need to do the full path. The configure may also require additional options if your php-config binary is not on the bin path.
phpize
./configure
make
make install
ln -s /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xcache.so /usr/local/php5//lib/php/extensions/no-debug-non-zts-20060613/xcache.so