Xcache Installation within 5 minute

Hi Guys,

Looking for the easy steps to install Xcache? You are in the right place! 🙂

1. Download the latest compatible version (http://xcache.lighttpd.net/wiki/ReleaseArchive) and extract it.
cd /usr/local/src
wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.gz
tar -xzf xcache-1.3.2.tar.gz 
cd xcache-1.3.2

2. Note the path returned for the following command:

whereis php-config

3. Use the output from 2 to modify the –with-php-config flag in the following compile command:

phpize && ./configure --with-php-config=/usr/bin/php-config --enable-xcache --enable-xcache-optimizer --enable-xcache-coverager &&
make && make install

The result should be similar to:
Installing shared extensions: /usr/lib/php/modules/

4. Restart apache when ready:

 /etc/init.d/httpd restart

5. You’re done! XCache should now be available. We can test it by using the following command.

 php -r 'phpinfo();' | grep 'xcache'

Please give it a try and if you need any further help please do let us know.

Thank you,

Advertisements
Leave a comment

Leave your opinion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: