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

1 comment:

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

    ReplyDelete