Enable Alternative PHP Cache [APC] in CWP

Alternative PHP Cache is a free, open source (PHP license) framework that caches the output of the PHP bytecode compiler in shared memory, thus reducing parsing and disk I/O overhead for later requests; and a shared memory cache for user data. For an application consisting of a large source code base such as Drupal, a 3x increase in page generation speed is possible as a result.

How to Install:

cd /usr/local/src
rm -rf APC-3.1.9.tgz
wget -c https://pecl.php.net/get/APC-3.1.9.tgz
tar xzvf APC-3.1.9.tgz
cd APC-3.1.9
phpize
./configure
make && make install
echo "extension=apc.so" > /usr/local/php/php.ini
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Install Mod_WSGI in CWP

1) Install Python 2.7. cd /usr/local/src wget --no-check-certificate...

Install and Configure Awstats in CWP

How to install and Configure awstats on Centos Web Panel 1) Download and install Awstats 7.3 cd...

Increasing Import Limit in phpMyAdmin for Running Versions of CWP

Below is the guide to increase upload limit in CentOS Web Panel   Edit PHP INI nano...

Installing Suhosin in CWP

How to Install Suhosin 0.9.38 in CentOS Web Panel cd /usr/local/src wget...

Install Mod_Security and Comodo WAF in CWP

1) Register at Comodo Waf website [https://waf.comodo.com/] as we will be needing Email and...