misc/151088: php 5.3.3_2 uses wrong pcre library,
causing php web sites to fail
John Levine
freebsd at johnlevine.com
Wed Sep 29 21:00:11 UTC 2010
>Number: 151088
>Category: misc
>Synopsis: php 5.3.3_2 uses wrong pcre library, causing php web sites to fail
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 29 21:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: John Levine
>Release: 7.0-RELEASE-p12
>Organization:
Taughannock Networks
>Environment:
FreeBSD gal.iecc.com 7.0-RELEASE-p12 FreeBSD 7.0-RELEASE-p12 #0: Fri Dec 4 19:44:00 EST 2009 root at gal.iecc.com:/usr/src/sys/i386/compile/GAL i386
>Description:
port of php 5.3.3_2 builds and installs OK, but web sites fail with pcre errors, e.g. in mediawika, traceback shows Internal pcre_fullinfo() error
>How-To-Repeat:
install pcre 5.3.3_2, apache 2, and mediawiki and try any mediawiki page
>Fix:
In lang/php5/Makefile, change
--with-pcre-regex=${LOCALBASE} \
to
--with-pcre-regex
and rebuild and reinstall
phpinfo now reports pcre version 8.02 2010-03-19 which works; previously reported an older version (which, of course, I forgot to write down)
It's possible it would be better to adjust the Makefile to require devel/pcre to be a new enough version, but I didn't check.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list