From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 29 21:00:11 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB6D1065672 for ; Wed, 29 Sep 2010 21:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5164C8FC0C for ; Wed, 29 Sep 2010 21:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8TL0BCs094820 for ; Wed, 29 Sep 2010 21:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8TL0BAD094808; Wed, 29 Sep 2010 21:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 29 Sep 2010 21:00:11 GMT Resent-Message-Id: <201009292100.o8TL0BAD094808@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Levine Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC1571065670 for ; Wed, 29 Sep 2010 20:50:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AB7108FC1B for ; Wed, 29 Sep 2010 20:50:07 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8TKo7bT093194 for ; Wed, 29 Sep 2010 20:50:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8TKo7ZC093193; Wed, 29 Sep 2010 20:50:07 GMT (envelope-from nobody) Message-Id: <201009292050.o8TKo7ZC093193@www.freebsd.org> Date: Wed, 29 Sep 2010 20:50:07 GMT From: John Levine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/151088: php 5.3.3_2 uses wrong pcre library, causing php web sites to fail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 21:00:11 -0000 >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: