RedArray  dedicated servers hosting
How to Install XCache on a cPanel Server (Linux)
QuatroVPS  KVM VPS Hosting across the USA
How to Install XCache on a cPanel Server (Linux)
How to Install XCache on a cPanel Server (Linux)
Published on: Apr 21, 2014

We are frequently asked if it’s possible, and how, to install XCache on servers that are already running cPanel. On cPanel servers, web server modules are managed with a built-in tool called EasyApache, however this tool features EAccelerator and does not provide an easy option to install XCache.

Nonetheless, it is possible to install XCache alongside cPanel. It is recommended not to install or enable any other caches or accelerators, such as EAccelerator or APC, with cPanel.

To begin, access your server as root and run the following commands:

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

tar -zxvf xcache-1.2.2.tar.gz

cd xcache-1.2.2

phpize
./configure –enable-xcache
make
make install

Locate your php.ini file, usually located at: /usr/local/lib/php.ini

Add the following line to the end of the file, then save and close the file:

extension=xcache.so

Finally, restart the webserver with:

service httpd restart

All done. Enjoy your server’s (hopefully) improved performance!

Archives:

Share This