Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: PCRE upgrade | PCRE – Perl Compatible Regular Expressions  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

nidhinjo

  • Guest
PCRE – Perl Compatible Regular Expressions

To upgrade the PCRE... This can be done through YUM with third party repo:-

-Search for existing pcre

Code: [Select]
# rpm -q --queryformat "%{name}.%{arch}\n" pcre
Remove all existing pcre using --nodeps

Code: [Select]
# rpm -ev --nodeps pcre-devel.x86_64
# rpm -ev --nodeps pcre.x86_64
# rpm -ev --nodeps pcre-devel.i386
# rpm -ev --nodeps pcre.i386

Add third party repository

Code: [Select]
# vi /etc/yum.repos.d/utter-ramblings.repo
[utter-ramblings]
name=Utter Ramblings
baseurl=http://www.jasonlitka.com/media/EL5/x86_64/
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
enabled=0
gpgcheck=1


Then Save this repo file

 Installed using yum :-

Code: [Select]
yum --disablerepo=* --enablerepo=utter-ramblings install pcre pcre-devel
Restart your web service and check phpinfo.