ID: 34429 User updated by: zimage at icdsoft dot com Reported By: zimage at icdsoft dot com -Status: Feedback +Status: Open Bug Type: Output Control Operating System: Linux PHP Version: 4.4.0 New Comment:
Just tried with php5-200509081630: PHP 5.1.0-dev (cgi-fcgi) (built: Sep 8 2005 15:09:53) No luck either. Output still comes at once. Tried with apache2 + php-4.3.11 - the problem is present there too. Previous Comments: ------------------------------------------------------------------------ [2005-09-08 17:30:22] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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