Upgrade PCRE from 7 to 8 on CentOS 6.8
Per: http://stackoverflow.com/questions/12212079/pcre-libraries-version-is-too-old
- Create a file: /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=1
gpgcheck=1
- Install:
# yum –disablerepo=* –enablerepo=utter-ramblings install pcre pcre-devel
- Restart Apache: #service httpd restart
- Verify version:
#pcretest -C
PCRE version 8.13 2011-08-16
Compiled with
UTF-8 support
Unicode properties support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack
# php -i|grep PCRE
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.13 2011-08-16