[TYPO3-team-core-v5] FLOW3 on PHP 5.3 >= alpha2
Clemens Kalb
clemens.kalb at netlogix.de
Mon Oct 20 03:06:19 CEST 2008
Greetings, everyone.
From what I've heard at the conference and read on the lists, nobody
has really managed to get FLOW3 to run on anything more recent than the
alpha1 release of PHP 5.3 yet. Usually PHP would crash causing a
segfault when starting the test runner.
The good news: This might no longer be the case. After some debugging I
managed to get a "green bar" with an up-to-date FLOW3 and the latest
daily snapshot of PHP 5.3 yesterday.
The bad news: You have to disable FLOW3's global error handler to keep
PHP from crashing (comment out set_error_handler on line 45 in
Packages/FLOW3/Classes/Error/F3_FLOW3_Error_ErrorHandler.php).
The wtf:
Apparently there is a bug related to custom error handlers that has been
introduced with a change to PHP 5.3 after alpha1. I have failed to
reproduce the issue with simplified sample code so far, but a similar
problem has been reported to the PHP bugtracker [1] (this is actually
what led me to the error handler). My backtrace looks very similar.
There is another entry that might also be related [2].
If you have any idea of what exactly is going I would suggest adding it
to the bugtracker entry [1].
Anyway - I hope this helps everyone stay up to date with the latest PHP
releases.
Regards,
Clemens
[1] http://bugs.php.net/bug.php?id=46338
[2] http://bugs.php.net/bug.php?id=46241
--
netlogix GmbH & Co. KG | Andernacher Straße 53 | 90411 Nürnberg
Tel: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: clemens.kalb (at) netlogix.de | Web: http://www.netlogix.de
More information about the TYPO3-team-core-v5
mailing list