Pages

Saturday, 4 August 2012

PCRE manual update

I have installed the PCRE 8 in the centos machine. All went good. i tried the instalation via source.

After the updatation the vertion of the PCRE showed 8 when i typed

pcretest -C

But when i put a php.ini file in the /var/www/html the php is not updated with the change we made.

Do the below to get through this error.

As PCRE was installed at /usr/local/bin/pcretest

And hence the libraries will be inside /usr/local/lib

I added this new path of library in /etc/ld.so.conf file and restarted Apache

Then I ran ldconfig -v to load the libraries

That's it :) now everything will work fine with php.ini :)

No comments:

Post a Comment