Monday, August 13, 2012

How to Install PHP APC (Alternative PHP Cache) on Linux

Steps below show how to install PHP: APC on Linux :

  1. sudo yum install php-pear
  2. sudo yum install php-devel
  3. sudo yum install httpd-devel
  4. sudo pecl install apc
  5. Add to end of php.ini
  6. sudo /etc/init.d/httpd restart

To check if APC is installed, just run command below:

php -r 'phpinfo();' | grep apc



  1. that is an awesome coding i like it! check this one bestkreative
    thanks for sharing..

  2. It was important for me to know perfectly. I am a new web developer. one of client is asking me for this.I am so helped really. Thanks for this. is a great source for me also.