Skip to content

Установка xcache на не дефолную версию php на VPS

Установка xcache на не дефолную версию php на VPS

Делаем

yum install
autoconf
make gcc
wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.bz2
tar xjf xcache-3.2.0.tar.bz2
rm -rf xcache-3.2.0.tar.bz2
cd xcache-3.2.0 
/opt/php53/bin/phpize --clean
/opt/php53/bin/phpize
./configure --enable-xcache --with-php-config=/opt/php56/bin/php-config
make
make install
cat xcache.ini > /opt/php56/etc/php.d/xcache.ini
/opt/php56/bin/php -i | grep xcache
http://alexxkn.ru/node/6