#19584 [Fbk->Bgs]: ob_implicit_flush may not be working

From: Date: Tue, 24 Sep 2002 23:06:30 +0000
Subject: #19584 [Fbk->Bgs]: ob_implicit_flush may not be working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20251@lists.php.net to get a copy of this message
ID: 19584 Updated by: edink@php.net Reported By: mat@genevus.com -Status: Feedback +Status: Bogus Bug Type: Sockets related Operating System: Windows 2000 Advanced Server IIS PHP Version: 4.2.3 New Comment: Your wish is our command :) Previous Comments: ------------------------------------------------------------------------ [2002-09-24 17:53:17] mat@genevus.com Just tried edink's suggestion, seems to work output_buffering = Off Throw me into the bogus pile! =) ------------------------------------------------------------------------ [2002-09-24 17:48:07] mat@genevus.com I downloaded the CVS snapshot and set it up. -My php.ini is residing in c:\winnt, and when i upgraded to the latest version (4.2.3), i went line by line and made sure my php.ini wasn't missing anything from the new php.ini in 4.2.3 -My PATH environment variable has c:\php\dlls and c:\php\extensions in it, so i didn't copy anything to the winnt folders -For each time i tried a different version, i shut down my web server, rebooted, renamed c:\php to something like c:\php_4.1.2, then renamed the version i wanted (c:\php_4.2.3) to c:\php. Then I started up my web server -I use the same php folder structure as the original that came out of the ZIP file except i have an added sessiondata\path\for\session\data folder and uploadtemp, which I've duplicated throughout each installation: c:\php (currently the CVS version i downloaded) c:\php_4.1.2 c:\php_4.2.2 c:\php_4.2.3 -I created a file c:\test.php which contains: <? set_time_limit(0); ob_implicit_flush(); for(;;) { echo "hello\n"; sleep(2); } ?> Here are the results of running this file (in this case i didn't reboot or anything, i just ran php.exe right from the folder) http://www.genevus.com/download/php_4.1.2.gif http://www.genevus.com/download/php_4.2.2.gif http://www.genevus.com/download/php_4.2.3.gif http://www.genevus.com/download/php_cvs.gif ------------------------------------------------------------------------ [2002-09-24 17:36:07] edink@php.net And try to disable output buffering in your php.ini. Maybe you have used php.ini-recommended after upgrading to 4.2.3? ------------------------------------------------------------------------ [2002-09-24 17:21:14] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Also, make sure you really replace all the old php related files with the new ones found in the release package. (php4ts.dll being the most important) ------------------------------------------------------------------------ [2002-09-24 17:09:41] mat@genevus.com Now I can't get it working in 4.2.2 anymore Probably my configuration then... Always works with 4.1.2 though, so I'm not sure what to think anymore. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19584 -- Edit this bug report at http://bugs.php.net/?id=19584&edit=1

« previous php.bugs (#20251) next »