#49714 [NEW]: ob_end_flush() in FastCGI failed.
| From: | langwanluo at gmail dot com | Date: | Tue, 29 Sep 2009 18:01:18 +0000 |
| Subject: | #49714 [NEW]: ob_end_flush() in FastCGI failed. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-143053@lists.php.net to get a copy of this message | ||
From: langwanluo at gmail dot com
Operating system: linux
PHP version: 5.3.0
PHP Bug Type: Other web server
Bug description: ob_end_flush() in FastCGI failed.
Description:
------------
This code is run the apache normal. Nginx and php-fpm in the running
error. also in the php-fpm mode ob_flush() has no effect, no immediate
output. I think that in two modes should hava the same effect.
Reproduce code:
---------------
<?php
for($i = 0; $i < 10; $i++) {
echo $i."<br />";
ob_end_flush();
sleep(1);
}
?>
Expected result:
----------------
0
1
2
3
4
5
6
7
8
9
Actual result:
--------------
0
1
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 2
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 3
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 4
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 5
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 6
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 7
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 8
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5 9
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to
delete or flush. in /data/wwwroot/mybook_com/output/flush.php on line 5
--
Edit bug report at http://bugs.php.net/?id=49714&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49714&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49714&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49714&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49714&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49714&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49714&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49714&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49714&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49714&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49714&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49714&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49714&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49714&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49714&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49714&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49714&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49714&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49714&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49714&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49714&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49714&r=mysqlcfg