I am too frustrated with PHP APC caching system and I wanted to remove/disable it completely from my server. I am using PHP with Nginx installed on Debian Squeeze, is there any way of doing it ?
Disable or Remove APC
alternative-php-cache
alternative-php-cache
I am too frustrated with PHP APC caching system and I wanted to remove/disable it completely from my server. I am using PHP with Nginx installed on Debian Squeeze, is there any way of doing it ?
Best Answer
Instead of removing APC, which will cause a massive performance hit, and effectively shoot yourself in the foot..
Try this: in /etc/php5/conf.d/apc.ini:
You can increase
apc.shm_size
to a value bigger than 128, say 512 if you had sufficient free RAM.I did this on a server I run, and never ever see Unable to allocate memory for pool errors.