Date: Wed, 22 Jul 2009 10:26:16 GMT From: "G. Georgiev" <hipo@design.bg> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136985: php pcre not working correctly Message-ID: <200907221026.n6MAQGns067760@www.freebsd.org> Resent-Message-ID: <200907221030.n6MAU5aY076191@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907221026.n6MAQGns067760>