Comments on Integrating APC (Alternative PHP Cache) Into PHP5 (Debian Etch & Apache2)

Integrating APC (Alternative PHP Cache) Into PHP5 (Debian Etch & Apache2) This guide explains how to integrate APC (Alternative PHP Cache) into PHP5 on a Debian Etch system (with Apache2). APC is a free and open PHP opcode cacher for caching and optimizing PHP intermediate code. It's similar to other PHP opcode cachers, such as eAccelerator and XCache.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Kitaj

The above mentioned install procedure is the only way to install APC on Etch. The php-apc is available on Lenny.

By: thE_iNviNciblE

thx a lot for this short tutorial :-) it works :-)

By: Vlatko Šurlan

I've found the harder way that using 'pecl install apc' is not a good way on my Debian system. The reason is that as soon as I update my apache or php packages, the apc is not up to date with the rest of the system and can cause a lot of headache as it did for me.

On a Debian system in production the best way is to maintain a clean apt install by installing apc the following way:

apt-get install php-apc

This way all the dependencies will be taken care of on the next package update and the consistency is much better.

By: Alpesh Bhavsar

Wonderful, it saved my time.

By:

Is there a boost for Magento-Shops after installing APC?

By:

Great tutorial. I've been struggling with APC for a few hours and once I found this article it worked immediately without problems. Thanks!

By: softius

If you receive errors when installing apc you may need to install libpcre3-dev .

By: Daniel

In my tests, it is best for PHP version 5.4.x Thanks!