ID: 34429 Updated by: [EMAIL PROTECTED] Reported By: zimage at icdsoft dot com -Status: Open +Status: Feedback Bug Type: Output Control Operating System: Linux PHP Version: 4.4.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-09-08 16:12:16] zimage at icdsoft dot com Description: ------------ Output comes in chunks of about 8k and cannot be forced by using flush(), ob_flush() or output_buffering = Off I've tested with netcat to avoid browser buffering issues: echo -ne 'GET /buf.php HTTP/1.0\n\n' |nc 10.0.0.1 80 Reproduce code: --------------- <?php for ($i=0; $i<4; $i++){ echo "$i\n"; ob_flush(); flush(); sleep (1); } ?> Expected result: ---------------- When run under mod_php, cgi version or lighttpd+php/fastcgi there is one digit printed per second. Actual result: -------------- When run under apache 1.3.33 + php/fastcgi the entire output is printed at once. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34429&edit=1
