Control Web Panel

WebPanel => Apache => Topic started by: kironet on April 10, 2015, 06:59:34 PM

Title: APC
Post by: kironet 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
Title: Re: APC
Post by: brijendrasial on April 11, 2015, 12:33:21 AM
Searching on Google can help you
http://www.woblag.com/2012/01/installation-of-apc-on-php-53-centos-5x.html
Title: Re: APC
Post by: kironet 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
Title: Re: APC
Post by: kironet on April 11, 2015, 12:18:26 PM
Fixed
I move apc.ini to /usr/local/php/php.d
Title: Re: APC
Post by: Flegma 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.