Loading...
 

Greg`s Tech blog

Adding XCache for PHP on Fedora

Tuesday 26 of February, 2013
I want to run XCache on my Amahi server to help speed up some php apps. Details on adding it are found here (cache)
  • yum install php-devel
  • yum groupinstall 'Development Tools' (44 packages - yikes)
  • yum groupinstall 'Development Libraries' (78 packages)

cd /tmp
wget http://xcache.lighttpd.net/pub/Releases/3.0.1/xcache-3.0.1.tar.gz
tar xvfz xcache-3.0.1.tar.gz
cd xcache-3.0.1

phpize
./configure --enable-xcache
make
make install
(Note: I ran make test and one test failed "xcache_set/get test")