PCRE upgrade | PCRE – Perl Compatible Regular Expressions

PCRE – Perl Compatible Regular Expressions

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

-Search for existing pcre

# rpm -q --queryformat "%{name}.%{arch}\n" pcre

Remove all existing pcre using --nodeps

# 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

# 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 :-

yum --disablerepo=* --enablerepo=utter-ramblings install pcre pcre-devel

Restart your web service and check phpinfo.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can to increase the maximum attachment in webmail?

You need to increase the PHP directives below from the php.ini (/etc/php.ini) file....

Blank page in Horde webmail

When opening an email from Horde webmail, the frame that's suppose to show the message came up as...

Allow directory listing in Linux VPS

To allow directory listing or directory browsing in your Linux VPS, create a .htaccess file (Yes,...

Upgrading PHP

By default, PHP that's on Linux VPS is version 5.1.6. In case your web application requires...

How to import/export mysql database from SSH?

From SSH command line, issue the following command:mysql -u username -p database_name <...