Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed APC for php using

yum install pcre-devel
pecl install apc
restorecon /usr/lib64/php/modules/apc.so

Everything installed correctly but still i can't see APC module in phpinfo

share|improve this question

2 Answers 2

Try looking for a ready-made RPM to save you the hassle. http://wiki.centos.org/AdditionalResources/Repositories is a good place to start.

share|improve this answer

Did you add:

extension=apc.so

to your php.ini file and restart your web server afterwards?

share|improve this answer
    
i did that its there. But its not showing in phpinfo. my apc.so is located in /usr/lib/php/extensions/no-debug-non-zts-20090626/apc.so –  Mirror51 Jan 3 '12 at 19:15

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.