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
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Install and Configure Awstats in CWP

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

Installing Nginx in CWP

Nginx is the fastest webserver in the world. Nginx is known for its high performance and low...

Installling Zammad on CWP

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

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

Upgrade MySQL Server in CWP

In this tutorial we will show you how to upgrade MySQL server in CentOS Web Panel.   1) Create...