Tuesday, July 05, 2005

preg_match: internal pcre_fullinfo() error -3

There are several posts about this being an apache2, php5 bug, blah blah blah. None of that was helpful for me. What *had* happened in my case, and maybe this can help you, was I had pcre 3.9 installed, but installing php 4.3.11 from source on apache 2 required me to upgrade to 4.5 (I think). Anyway, in phpinfo() it was showing it was using the 3.9 version because the configration string was using "--with-pcre-regex=/usr/local", but it needed to use 4.5.

Resolution
I just removed the path and rebuilt the configuration with "--with-pcre-regex" and it came through fine. I think it needed 4.5 to build it and then needed it to point to the right path when it was done.

0 Comments:

Post a Comment

<< Home