Author Topic: APC  (Read 11716 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
APC
« on: April 10, 2015, 06:59:34 PM »
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

Re: APC
« Reply #1 on: April 11, 2015, 12:33:21 AM »

Offline
*
Re: APC
« Reply #2 on: April 11, 2015, 11:54:56 AM »
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:
Code: [Select]
extension=apc.so
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat=1
« Last Edit: April 11, 2015, 11:58:10 AM by kironet »

Offline
*
Re: APC
« Reply #3 on: April 11, 2015, 12:18:26 PM »
Fixed
I move apc.ini to /usr/local/php/php.d

Offline
*
Re: APC
« Reply #4 on: April 16, 2015, 10:09:06 AM »
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.