Posted on March 5th, 2009 No comments
XCache is a a cache system for php scripts, it will increase a lot your php pages load speed. (Official Web Site)
In this post i will not discuss about how it works and what it does, i just tell you guys how to install it in few steps.
1Âº – download the last stable version http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
2Âº – tar -xvf xcache-1.2.2.tar.gz
3Âº – cd xcache-1.2.2
4Âº – phpize
5Âº – ./configure –enable-xcache
6Âº – make
7Âº – make install
8Âº – cp xcache.ini /etc/php.d
9Âº – vim /etc/php.d/xcache.ini
10Âº – uncomment and set xcache.size = 64M
11Âº – restart apache and its done!
Obs.: Sometimes you will need to install php-devel packages if they are not currently installed on your system. (yum install php-devel)