From owner-freebsd-ports@FreeBSD.ORG Fri Mar 2 20:06:29 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 B122516A410 for ; Fri, 2 Mar 2007 20:06:29 +0000 (UTC) (envelope-from andre@abtime.de) Received: from mout01.abmail.de (mout01.abmail.de [88.198.99.53]) by mx1.freebsd.org (Postfix) with ESMTP id 3553613C4B7 for ; Fri, 2 Mar 2007 20:06:29 +0000 (UTC) (envelope-from andre@abtime.de) Received: from [10.100.3.3] (pD950B032.dip0.t-ipconnect.de [217.80.176.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mout01.abmail.de (Postfix) with ESMTP id B7E0E997731; Fri, 2 Mar 2007 20:47:37 +0100 (CET) Message-ID: <45E87F5B.50604@abtime.de> Date: Fri, 02 Mar 2007 20:47:39 +0100 From: =?ISO-8859-1?Q?Andr=E9_B=F6hm?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Uwe Grohnwaldt References: <591600070702281228p2b0b7151x8b259bb4aa419451@mail.gmail.com> <00b201c75b96$53d18310$b3db87d4@multiplay.co.uk> <20070302131907.069561bc@Winter> <20070302140724.2e207448@Winter> In-Reply-To: <20070302140724.2e207448@Winter> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org 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: Fri, 02 Mar 2007 20:06:29 -0000 Uwe Grohnwaldt schrieb: > On Fri, 2 Mar 2007 13:19:07 +0100 > Uwe Grohnwaldt wrote: > >> 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='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 > > 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. > > Uwe Hello, 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... 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). -- André Böhm, andre@abtime.de, https://www.abtime.de