For the record, I had to fully uninstall the whole php5 and php5-extensions freebsd ports, delete the build configs and reinstalled all from scratch. The error mysteriously vanished.
I guess they really changed something between the versions :)
Vahan
till wrote:
Hi,
On 2/15/07, Vahan Yerkanian vahan@arminco.com wrote:
(...) Everything worked with PHP 5.2.0... So either something wrong with 5.2.1, or that regexp is invalid... Googling around found this related bug: http://bugs.php.net/bug.php?id=38327&edit=1
I just *love* the reply.
Anyway, try prefixing preg_*-call with an @ to surpress the error. See what happens next. I'd also add to the bug you found - supply example code and let them know that it broke from 5.2.0 to 5.2.1.
I am more concerned with the database error you also posted?
Also, I heard that serveral people boycotted the 5.2.0 release. For example, the maintainer of Gentoo ebuilld "refused" to add it. So it might not be broken now, but working after all. ;-)
Confused? Me too...
Cheers,