Date: Wed, 29 Sep 2010 20:50:07 GMT From: John Levine <freebsd@johnlevine.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/151088: php 5.3.3_2 uses wrong pcre library, causing php web sites to fail Message-ID: <201009292050.o8TKo7ZC093193@www.freebsd.org> Resent-Message-ID: <201009292100.o8TL0BAD094808@freefall.freebsd.org>
index | next in thread | raw e-mail
>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@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:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009292050.o8TKo7ZC093193>
