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 extension=apc.so 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

Ref: http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html

4 comments:

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

    ReplyDelete
  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. grafwebcuso.com is a great source for me also.

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

    ReplyDelete
  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

    ReplyDelete