How to install zendOpCache and APC in VestaCP , Centos
short way from CenOS
APC
if php -v
- CODE: SELECT ALL
php -v return version 5.4 yum install --enablerepo=remi php-pecl-apc php-pecl-memcache memcached libmemcached -y _________________________ php -v return version 5.3 yum install php-pecl-apc php-pecl-memcache memcached libmemcached -y
But i don’t recommend used apc, better use php-pecl-zendopcache (faster and stable)
- CODE: SELECT ALL
-
php -v return version 5.4 yum install --enablerepo=remi php-pecl-zendopcache -y ___________________ php -v return version 5.4 yum install php-pecl-zendopcache -y
note: don’t use apc and zendOpCache at the same time