← Back to team overview

ius-community team mailing list archive

Re: system PCRE vs PHP bundled PCRE

 

Just like Fedora and RHEL, we have a strong preference to use system libraries over bundled libraries whenever possible.  EL7 has pcre 8.32.  PHP 5.6 has pcre 8.37 bundled.  Are there significant improvements between those versions that justify using the bundled library?


https://git.centos.org/blob/rpms!pcre.git/c7/SPECS!pcre.spec#L4

https://github.com/php/php-src/blob/php-5.6.16/ext/pcre/pcrelib/pcre.h#L44-L45


Carl George
IUS CoreDev Team
________________________________
From: Ius-community <ius-community-bounces+carl.george=rackspace.com@xxxxxxxxxxxxxxxxxxx> on behalf of Mark McKinstry <mmckinst@xxxxxxxxxxx>
Sent: Thursday, December 10, 2015 08:59 AM
To: ius-community@xxxxxxxxxxxxxxxxxxx
Subject: [Ius-community] system PCRE vs PHP bundled PCRE

In https://github.com/iuscommunity-pkg/php56u/commit/1834368addfcfdf72daeafcc105d648c1d2dd069 PHP was changed to use the system PCRE instead of the bundled PCRE for el7. Previous versions of IUS PHP RPMs have used the bundled PCRE (https://github.com/iuscommunity-pkg/php56u/pull/1) instead of the system PCRE.

Why was el7 switched to use the system PCRE instead of the bundled PCRE?


Thanks,
Mark McKinstry

References