Date: Sun, 4 Mar 2007 19:26:13 +0100 From: Uwe Grohnwaldt <Uwe@Grohnwaldt.de> To: freebsd-ports@freebsd.org Subject: Re: PHP 5.2.1 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 02 Mar 2007 20:47:39 +0100 Andr=E9 B=F6hm <andre@abtime.de> wrote: > Uwe Grohnwaldt schrieb: > > On Fri, 2 Mar 2007 13:19:07 +0100 > > Uwe Grohnwaldt <Uwe@Grohnwaldt.de> wrote: > >=20 > >> On Thu, 1 Mar 2007 00:12:33 -0000 > >> "Steven Hartland" <killing@multiplay.co.uk> 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() [<a > >> href=3D'function.preg-replace'>function.preg-replace</a>]: > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070304192613.0f921e3c>