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: Frank Perez | Add to favorites
monitors
Wednesday, October 8, 2014
What’s up friends, its fantastic paragraph regarding educationand completely
explained, keep it up all the time.