XCache 1.3.2 Release date: 2011-06-04
Apache in /usr/local/apache
php.ini in /usr/local/etc/php.ini
wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.bz2
tar jxf xcache-1.3.2.tar.bz2
cd xcache-1.3.2
phpize --clean
phpize
./configure --enable-xcache --with-php-config=/usr/local/bin/php-config
make
make install
cat xcache.ini >> /usr/local/etc/php.ini
edit /usr/local/etc/php.ini
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
xcache.size = 64M
xcache.so path may different from yours
To check if XCache enabled
# php -i |grep XCache
with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
XCache
XCache Support => enabled