Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

On my DV from MediaTemple running Centos 5.8 I installed APC.

I then added extension = "" to /etc/php.ini so APC will be enabled for all existing and future sites on the server.

When I checked still no APC showing up.

I removed the line and added it to /var/www/vhosts/ and then checked phpinfo which was running in and APC showed up. However, I don't of course want to have to add this each time to every domain.

Is there a reason why /etc/php.ini isn't picking it up? I restart httpd, do I need to restart it more?

Or if for some reason with FastCGI it has to be in each domain php.ini is there a way to get it added to that template?

Also the server uses the default plesk 11.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.