-
Installing PHP XCache in 11 Steps
Posted on March 5th, 2009 No commentsXCache 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)
