0

When I run php -v

I get:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: 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.

clifgriffin
  • 101
  • 2

1 Answers1

0

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

pecl install apc

that's it.

quanta
  • 51,413
  • 19
  • 159
  • 217
Raj
  • 247
  • 2
  • 9
  • 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