Take the 2-minute tour ×
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 = "apc.so" to /etc/php.ini so APC will be enabled for all existing and future sites on the server.

When I checked php.info still no APC showing up.

I removed the line and added it to /var/www/vhosts/example.com/etc/php.ini and then checked phpinfo which was running in example.com 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
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.