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
make && make install
echo "extension=apc.so" > /usr/local/php/php.ini
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

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...

Adding Your First User Account and Domain in CWP

In this article we will be explaining you how to setup first user and domain in Centos Web Panel....

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...

Installling Zammad on CWP

Prerequisites   STEP - I   Find and save your MySQL root password somewhere as we will need...

Intalling PHP-SSH2 in CWP

This tutorial will help you to enable SSH2 in PHP. 1) Download and install libssh2. wget...