PHP 5.2.1

Uwe Grohnwaldt Uwe at Grohnwaldt.de
Sun Mar 4 18:26:18 UTC 2007


On Fri, 02 Mar 2007 20:47:39 +0100
André Böhm <andre at abtime.de> wrote:

> Uwe Grohnwaldt schrieb:
> > On Fri, 2 Mar 2007 13:19:07 +0100
> > Uwe Grohnwaldt <Uwe at Grohnwaldt.de> wrote:
> > 
> >> On Thu, 1 Mar 2007 00:12:33 -0000
> >> "Steven Hartland" <killing at 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 at 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='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 at freebsd.lando.cc:/usr/obj/usr/src/sys/GENERIC  i386
> >>
> >> [lando at 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).

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


More information about the freebsd-ports mailing list