Compile Xcache for use in lighttpd, Apache (Centos 5.4-5.6)

Start by installing the required packages to compile

yum groupinstall 'Development Tools'

yum install php-devel

wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.gz

tar zxfv xcache-1.3.2.tar.gz

cd xcache-1.3.2

phpize

./configure --enable-xcache

make

make install

After the last step take note of the reported path where the libraries were installed

Similar to :

/usr/lib64/php/modules/

 

Then we copy the configuration to the php.d include directory

cp xcache.ini /etc/php.d/

Lastly we edit the xcache.ini and fix the path in

extension = /usr/lib64/php/modules/xcache.so

Finaly restart your apache/lighttpd and you are ready.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HowTo: Setup Lighttpd & MySQL 5 & PHP 5

  Light HTTP with MySQL 5 and PHP 5 (LLMP) OS: CentOS(5.2 - 5.5) by eServices GreeceAuthor:...

Rapid SSL CA Bundle

You will find the bundle here: http://www.geotrust.com/resources/root-certificates/

Set Correct Time and Timezone

For Dedicated servers & VMWare just set the time using date -s "17 JUN 2010 19:54:00"...

Mysql Optimized configuration (centos 5.2-5.5, openSUSE11.0-11.3)

==========[my.cnf]==========       [client] port        ...

Lighttpd Optimized configuration (centos 5.2-5.5, openSUSE11.0-11.3)

==========[lighttpd.conf]==========       # lighttpd configuration file # #...