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-...y-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
Do you get any errors when starting Apache or trying to run something like this from the command line? php --version Code (markup):
I would double check you are using the right .ini file (it will tell you where it is in your phpinfo)... If there was an error with the .so file, it should throw an error. Seems like it's not even trying to load.
seems you should add .so extension to /etc/php5/fpm/php.ini http://www.giocc.com/installing-apc-for-php-fpm-on-ubuntu-11-04-natty-narwhal.html