Trying to install APC

omri2008

New Member
I have ubuntu 10.04 and I used LNMP 0.7 auto installer script. Now I'm trying to install APC. I've followed this tutorial http://www.giocc.com/installing-apc-for-php-fpm-on-ubuntu-11-04-natty-narwhal.html. I added extension=apc.so to my php.ini and rebooted but I don't see it being enabled. You can check my phpinfo http://205.185.119.35/phpinfo.php why won't it enable APC?

I noticed I found 2 php.ini files one is located /etc/php5/cli and /usr/local/php/etc. I tried adding extension=apc.so on both of them but still doesn't enable APC Any error you see on executing

Quote: php -v You can check the correct php.ini the server is using by

Quote: php -i | grep php.ini You also have to enable APC in php.ini with the following line:
Quote: apc.enabled=1 Here are the steps to install APC on CentOS server which shouldn't be much different than installing it on Ubuntu.
 
Back
Top