installing APC on CentOS Linux

Submitted by jpamental on
Topics:  drupal

APC is a caching module for PHP that can really speed up the serving of pages for logged-in users in Drupal. I found this article in setting it up and found it pretty clear and accurate:

Here’s what I did to get it up and running:

Run this command:

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


pecl install apc

(I answered default no/yes to all questions asked during the install process)

then make sure that this is the only line in /etc/php.d/apc.ini:

Restart Apache:

service httpd restart