ID: 49714 Updated by: j...@php.net -Summary: ob_end_flush() in FastCGI failed. Reported By: langwanluo at gmail dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: linux PHP Version: 5.*, 6 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2009-09-29 18:01:18] langwanluo at gmail dot com 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 this bug report at http://bugs.php.net/?id=49714&edit=1