Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2008 01:13:11 GMT
From:      Michael Scheidell <scheidell@secnap.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129491: missing php5-pcre and upgrade error and php5.7 mq error
Message-ID:  <200812080113.mB81DBXb015442@www.freebsd.org>
Resent-Message-ID: <200812080120.mB81K1bw031275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129491
>Category:       ports
>Synopsis:       missing php5-pcre and upgrade error and php5.7 mq error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 08 01:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        all
>Organization:
SECNAP Network Security
>Environment:
all
>Description:
after upgrading to php5.2.7, a 'php -v' shows a duplicate pcre module:

 php -v
PHP Warning:  Module 'pcre' already loaded in Unknown on line 0

Warning: Module 'pcre' already loaded in Unknown on line 0

although there is only one pcre module listed in extentions.ini

a pkg_info | grep php5-pcre showed an old pcre loaded, so I did a :
portupgrade php5-pcre.

supprize:
Detected a package name change: php5-pcre (lang/php5) -> 'php5' (lang/php5)
--->  Upgrading 'php5-pcre-5.2.0' to 'php5-5.2.7' (lang/php5)
--->  Building '/usr/ports/lang/php5'
===>  Cleaning for php5-5.2.7
===>  Found saved configuration for php5-5.2.2

I stopped it.
I noticed that /usr/ports/devel/php5-pcre is missing from ports now.
suggestion(s?) change php5-5.2.7 to look for, delete, pkg_delete and take pcre.so out of extentions.ini library, or, document that it is included in php5.2.7 (I googled, did not find that at all, but did find that maybe a dependency on pcre 7.8 should be included, or a security alert in portsaudit should be made:
Fixes CVE-2008-2371

and, big woops:  on php's side:

on their web site:

PHP 5.2.7
Due to unfortunate regressions installing 5.2.7 is highly discouraged

For those who already have installed 5.2.7 can workaround the MQ bug by setting "filter.default_flags=0" in php.ini

A new release fixing this regression is expected shortly


>How-To-Repeat:

>Fix:
maybe uninstall php5-pcre, strip it from extentions.ini file, but wait for php to fix the MQ error.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812080113.mB81DBXb015442>