APC Install Using Pecl

APC is a cache speeding up php execution and allows you to speed up applications by in-memory caching.

You can already install it though:

# pecl install apc

Or, for those with /tmp mounted as noexec:

{{{{install new package from pecl site}}}}}}

I downloaded here >> APC-3.1.6.tgz
# wget http://pecl.php.net/get/APC-3.1.6.tgz
# tar -xvzf APC-3.1.6.tgz
# cd APC-3.1.6
# phpize
# ./configure
# make
# make install

Now configure PHP to use the new extension, add the following in the php.ini file.
extension=apc.so

Leave a Reply

Your email address will not be published. Required fields are marked *