Easy way to upgrade PHP 5.1 to 5.2 and install XCache on CentOS 5
1, Add Jason Litka’s yum repository to your yum repository.
2, Check what version is your PHP
php -version
3, Upgrade PHP
yum update php
4, Install XCache
yum install php-xcache
5, Remove eAccelerator if you have installed it before installing XCache
rm -rf /usr/lib/php/modules/eaccelerator.sorm -rf /etc/php.d/eaccelerator.ini
6, restart Apache
apachectl restart
7, Check if everything is OK
#php -v
PHP 5.2.5 (cli) (built: Nov 13 2007 06:22:09)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
8, To change configuration file:
vi /etc/php.d/xcache.ini
Popularity: 1%


















































