Written by:David Aldridge
8/15/2012 3:56 PM 

To install the APC cache on PHP for RedHat/Centos, do the following:

yum install php-devel php-pear httpd-devel

And verify first that the required packages are installed (apache,php).  After that you can then use pear to install the package:

pear install pecl /apc

This will install the APC cache.  You can then install the page to give you the stats on the cache using the following:

gzip -dc /usr/share/doc/php-apc/apc.php.gz >/path/to/webserver/apc.php

Where you replace the path with the path to your webserver.


Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
You must be logged in and have permission to create or edit a blog.