From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 22 10:30:06 2009 Return-Path: Delivered-To: freebsd-ports-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 43A3B106566C for ; Wed, 22 Jul 2009 10:30:06 +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 00F408FC1D for ; Wed, 22 Jul 2009 10:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6MAU5wS076192 for ; Wed, 22 Jul 2009 10:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6MAU5aY076191; Wed, 22 Jul 2009 10:30:05 GMT (envelope-from gnats) Resent-Date: Wed, 22 Jul 2009 10:30:05 GMT Resent-Message-Id: <200907221030.n6MAU5aY076191@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "G. Georgiev" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5379C106571A for ; Wed, 22 Jul 2009 10:26:17 +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 4147F8FC0C for ; Wed, 22 Jul 2009 10:26:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6MAQG5j067761 for ; Wed, 22 Jul 2009 10:26:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6MAQGns067760; Wed, 22 Jul 2009 10:26:16 GMT (envelope-from nobody) Message-Id: <200907221026.n6MAQGns067760@www.freebsd.org> Date: Wed, 22 Jul 2009 10:26:16 GMT From: "G. Georgiev" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136985: php pcre not working correctly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 10:30:06 -0000 >Number: 136985 >Category: ports >Synopsis: php pcre not working correctly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jul 22 10:30:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: G. Georgiev >Release: FreeBSD 7.2-RELEASE >Organization: >Environment: FreeBSD pcfreak 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When compiling /usr/ports/lang/php5 with apache module support a problem occurs and thus pcre doesn't render correctly. In my case squirrelmail and joomla failed with an errors similar to "[Thu Jun 11 20:39:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: preg_replace() [function.preg-replace]: Internal pcre_fullinfo() error -3 in somefile.php on line 169 [Thu Jun 11 20:39:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: preg_match() [function.preg-replace]: Internal pcre_fullinfo() error -3 in somefile.php on line 275 " The solution is pretty straight forward the configure options in the Makefile needs to be added “-with-pcre-regex=yes” compile option. >How-To-Repeat: Just install the port and try Joomla or Squirrelmail >Fix: Add “-with-pcre-regex=yes” to the configure options in ports Makefile >Release-Note: >Audit-Trail: >Unformatted: