Log In | Register | December 15, 2018

Share
 

Linux - October 17, 2011

Install PHP APC Optimizer

Below are the steps needed in order to successfully install the PHP APC optimizer module on Red Hat based systems such as CentOS.

Before installing PHP APC, we need to start by installing the php pear module, php-devel, httpd-devel, and pcre-devel modules.

yum install php-pear php-devel httpd-devel pcre-devel

After you install the required packages, then we can go ahead and install PHP APC. In the command line type the following:

pecl install apc

PHP APC will now install. After it is installed we need to add the extension for PHP to load. You can do this by creating the apc.ini file as follows:

echo "extension=apc.so" > /etc/php.d/apc.ini

Once you have created the apc.ini file, now you can restart apache and PHP APC will be successfully installed.

service httpd restart

Post By: | FavoriteLoadingAdd to favorites

1 Comments

monitors
Wednesday, October 8, 2014

What’s up friends, its fantastic paragraph regarding educationand completely
explained, keep it up all the time.

Leave a Comment



Need Help? Ask a Question

Ask anything you want from how to questions to debug. We're here to help.

You Must Be Logged In To Post A Question.

Log In or Register