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.

  3. Thanks for sharing about how to install it being very informative to know.
    php web development training

  4. I do not know these important steps to install PHP APC on Linux. This post teaches me best how to install and now I can install easily just follow these steps. custom web app development