How to install XCache on plesk server(linux)
Installation :
— Login as root
# cd /usr/local/src
— Download the source file. You can get from http://xcache.lighttpd.net/pub/Releases/1.3.0/xcache-1.3.0.tar.gz
# wget http://xcache.lighttpd.net/pub/Releases/1.3.0/xcache-1.3.0.tar.gz
–Extract the tar file :
# tar -zxvf xcache-1.3.0.tar.gz
— Go to the Directory
# cd xcache-1.3.0
— Run :
# phpize
# ./configure
# make
# make install
— Then copy from xcache-1.3.0/xcache.ini into /etc/php.d/axcache.ini (use axcache to avoid problems with any zend extensions (Ioncube, Zend etc))
# cp xcache-1.3.0/xcache.ini /etc/php.d/axcache.ini
— Edit /etc/php.d/axcache.ini and correct the path for xcache.so (to load from correct place).
# vi /etc/php.d/axcache.ini
— Restart apache
# /etc/init.d/httpd restart
— check with php -v if is loaded.
It should show:
PHP 5.2.11 (cli) (built: Sep 23 2009 19:53:09)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
If apache not restart, see if the problem is not with Zend Optimizer and XCache.
January 4, 2010 at 4:15 pm
[…] https://aparnam.wordpress.com/2009/10/15/how-to-install-xcache-on-plesk-serverlinux/ […]
January 4, 2010 at 4:28 pm
[…] https://aparnam.wordpress.com/2009/10/15/how-to-install-xcache-on-plesk-serverlinux/ […]
January 4, 2010 at 4:32 pm
Thank you so much !!!