> On Wed, 25 Jan 2012 09:13:43 -0800, Stas Malyshev wrote:
> 
> > Hi!
> > 
> >> We've just found one more critical problem in 5.4.
> >>
> >> Apache/PHP crashes in case of error on startup, when
> >> display_startup_errors=1. It's probably related to new output API.
> >>
> >> I afraid it may affect many php users.
> > 
> > OK, thanks. Looks like we'd be needing another RC then. Let's fix this
> > one and the __FILE__ crash in that case.
> 
> Fix committed.

The fix does work (thanks), but introduces another problem with scripts
without output in FastCGI. The problem is that the headers aren't sent
when there's no output from the script. If the script does produce an
output then the headers are sent.

should be reproducible with this simple script:

<?php
header("Location: http://www.google.com";);

Kaplan
Zend Technologies Ltd.


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to