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

link|improve this question

feedback

2 Answers

Did you add:

extension=apc.so

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

link|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 at 19:15
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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