Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run php -v

I get:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/' - /usr/lib64/php/modules/ undefined symbol: php_pcre_exec in Unknown on line 0

This isn't my first rodeo. I've setup APC multiple times. This is a MediaTemple Dedicated Virtual 4.0 with Plesk 11. Plesk 11 is the only thing essentially different from the other servers I've set this up on.

I've verified that pcre-devel is installed. I've compiled APC from source as well as used pecl to install it. No difference.

I also tried downgrading to APC 3.0.19, with no love.

share|improve this question
Why not just use the packages provided by the distribution (and you forgot to mention which you're using)? – Michael Hampton Sep 11 '12 at 13:23
It's CentSO 6. If there are any yum packages for this, I haven't seen them. – clifgriffin Sep 11 '12 at 13:39
php-pecl-apc has been in the repos for quite some time. – Michael Hampton Sep 11 '12 at 15:00
For whatever, reason, it's not in my repos. "No package php-pecl-apc available." (please let me know if I'm missing something obvious...not an expert on this stuff) – clifgriffin Sep 11 '12 at 15:04
I suspect Plesk. But you'd have to ask MT to be sure. – Michael Hampton Sep 11 '12 at 15:08

First install the pecl package from yum repo and then use the below command to install the apc.

pecl install apc

that's it.

share|improve this answer
Yes, I used that method. As I said above "I've compiled APC from source as well as used pecl to install it. No difference." – clifgriffin Sep 11 '12 at 15:09

Your Answer


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.