Error Installing APC via PECL

Posted by Nessa | Posted in , | Posted on February 27, 2011

1

I got the following error when compiling APC on one of the servers:

/root/APC-3.1.6/apc.c:464: error: ‘apc_regex’ has no member named ‘nreg’

To fix this, make sure that PHP is installed with PCRE support (type php -m for a list of modules), then install the pcre-devel package:

yum install pcre-devel

Be Sociable, Share!

Comments (1)

Funny you are posting this, I came across this exact same error, and came fix last week.. you just beat me to a post about it.

Post a comment