From owner-freebsd-ports@FreeBSD.ORG Sun Mar 4 18:26:18 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E3CA16A401 for ; Sun, 4 Mar 2007 18:26:18 +0000 (UTC) (envelope-from Uwe@Grohnwaldt.de) Received: from p15150876.pureserver.info (grohnwaldt.de [82.165.31.234]) by mx1.freebsd.org (Postfix) with ESMTP id E59D413C461 for ; Sun, 4 Mar 2007 18:26:17 +0000 (UTC) (envelope-from Uwe@Grohnwaldt.de) Received: (qmail 16146 invoked from network); 4 Mar 2007 19:26:18 +0100 Received: from vpn018160.uni-rostock.de (HELO Winter) (139.30.18.160) by grohnwaldt.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Mar 2007 19:26:18 +0100 Date: Sun, 4 Mar 2007 19:26:13 +0100 From: Uwe Grohnwaldt To: freebsd-ports@freebsd.org Message-ID: <20070304192613.0f921e3c@Winter> In-Reply-To: <45E87F5B.50604@abtime.de> References: <591600070702281228p2b0b7151x8b259bb4aa419451@mail.gmail.com> <00b201c75b96$53d18310$b3db87d4@multiplay.co.uk> <20070302131907.069561bc@Winter> <20070302140724.2e207448@Winter> <45E87F5B.50604@abtime.de> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: PHP 5.2.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 18:26:18 -0000 On Fri, 02 Mar 2007 20:47:39 +0100 Andr=E9 B=F6hm wrote: > Uwe Grohnwaldt schrieb: > > On Fri, 2 Mar 2007 13:19:07 +0100 > > Uwe Grohnwaldt wrote: > >=20 > >> On Thu, 1 Mar 2007 00:12:33 -0000 > >> "Steven Hartland" wrote: > >> > >>> emmi wrote: > >>>> Hello, I just updated my ports this morning and the PHP was > >>>> updated to 5.2.1. I am having major issues with my website, > >>>> specially my forums. The designers (vBulletin) say this is a > >>>> problem in the latest FreeBSD ports update. Does anyone know > >>>> about this? > >>> Some info on the issues your seeing might be helpful. > >>> > >>> Steve > >> hi, > >> i'm have some issues too. i'm using drupal, wordpress and some > >> other applications. after upgrading to > >> > >> [lando@freebsd ~]$ php -v > >> PHP 5.2.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 1 2007 > >> 00:08:02) Copyright (c) 1997-2007 The PHP Group > >> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > >> > >> these scripts have problems in my httpd-error.log > >> > >> [Fri Mar 02 07:59:27 2007] [error] [client 66.249.65.40] PHP > >> Warning: preg_replace() [ >> href=3D'function.preg-replace'>function.preg-replace]: > >> Compilation failed: lookbehind assertion is not fixed length at > >> offset 10 in /usr/local/www/vhosts/cc.lando.freebsd.wordpres > >> s/wp-includes/formatting.php on line 76 > >> > >> my drupal produces similar output. > >> > >> my system: > >> FreeBSD freebsd.lando.cc 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Tue > >> Jan 30 00:45:57 CET 2007 > >> root@freebsd.lando.cc:/usr/obj/usr/src/sys/GENERIC i386 > >> > >> [lando@freebsd ~]$ php -m > >> [PHP Modules] > >> bcmath > >> bz2 > >> calendar > >> ctype > >> date > >> dom > >> exif > >> filter > >> ftp > >> gd > >> gettext > >> hash > >> iconv > >> imap > >> json > >> ldap > >> libxml > >> mbstring > >> mcrypt > >> mhash > >> mssql > >> mysql > >> mysqli > >> ncurses > >> openssl > >> pcre > >> pdf > >> PDO > >> pdo_sqlite > >> pgsql > >> posix > >> Reflection > >> session > >> SimpleXML > >> snmp > >> sockets > >> SPL > >> SQLite > >> standard > >> tokenizer > >> xml > >> xmlreader > >> xmlrpc > >> xmlwriter > >> xsl > >> zip > >> zlib > >> > >> [Zend Modules] > >> > >> Uwe > >=20 > > I've forgotten something :) I this error occurs, the content of my > > blogposts isn't printed. only the titles are shown. a reload of the > > page (sometimes 2 or 3 times) shows everything. > >=20 > > Uwe >=20 >=20 > Hello, >=20 > For the error "lookbehind assertion is not fixed length" or > "lookahead..." this will work again after deleting devel/pcre and > installing devel/pcre-utf8 instead, afterwards recompile php5-pcre and > other dependencies. > I have found that afterwards the pcre-functions in php work fine, this > also occures in some pear-libs, and hit my Horde installation... >=20 > For Wordpress with php5.2.1 I suggest you take also a look at > http://trac.wordpress.org/ticket/3886, which is a bug that shows up in > wordpress after upgrading to php5.2.1 for all web visitors behind > proxies (like squid). Hi, good hint. a portupgrade -frR pcre-utf8-7.0 and portupgrade -frR php5-pcre-5.2.1_3 later, my problems are blown away :) thanks, Uwe