APC

Started by kironet, April 10, 2015, 06:59:34 PM

Previous topic - Next topic

kironet

Hello,

How I can install APC to CWP?
And how I can to install php mods.

I need enable APC and intl for symfony2 project...

Thanks


kironet

#2
I did everything what's in "tutorial" but APC don't work.

check it:
phpinfo: http://itarena.cz/
apc.php: http://itarena.cz/apc.php

/etc/php.d/apc.ini:

extension=apc.so
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat=1

kironet

Fixed
I move apc.ini to /usr/local/php/php.d

Flegma

For APC to actually collect cache you need to setup Apache to use DSO as PHP handler. It will not work with either suPHP or DSO with mod_ruid2.