← Back to team overview

ius-coredev team mailing list archive

[Bug 608119] Re: php53 forces use of outdated PCRE

 

Both php52 and php53 follow Fedora as semi-upstream in order to remain
as similar as possible to what comes down the pipe for RHEL.  This is
one of those changes.  That said, I think it would make sense to use a
later version of PCRE being that users are upgrading PHP to get the
latest version of that as well.

We will consider this for the next php53 update.

Thank you!

** Branch linked: lp:ius/php53

** Changed in: ius
       Status: New => Opinion

-- 
php53 forces use of outdated PCRE
https://bugs.launchpad.net/bugs/608119
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.

Status in IUS Community Project: Opinion

Bug description:
php53 contains pcre 8.0 or better (cf. bug 532171) which is great.
php53.x86_64 (5.3.2-6.ius.el5) is compiled with '--with-pcre-regex=/usr' which ignores built-in pcre in favour of system pcre.
Between CentOS base, EPEL and IUS repos, the best system pcre available is pcre-6.6-2.el5_1.7

Therefore the compilation flag '--with-pcre-regex=/usr' forces a major reduction in pcre functionality, unless user is willing to find bespoke pcre rpm or compile from source.

Specifically, the old pcre causes problems on systems running Drupal 6 and better

#uname -a
Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux





References