ID: 19584
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Sockets related
Operating System: Windows 2000 Advanced Server IIS
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-09-24 16:54:06] [EMAIL PROTECTED]
I have been running a looping script using php.exe from the
command-line using 4.1.2 to run tasks I pull out of a database. I
needed to use socket_set_timeout but my build of 4.1.2 didn't support
it.
I upgraded to 4.2.2 and my script worked, but socket_set_timeout wasn't
supported in this one either.
So I upgraded to 4.2.3 and now my script doesn't even output anything.
ob_implicit_flush doesn't *seem* to be working. PHP doesn't echo
anything, it just seems to be hanging in my loop.
Will be easier to explain with a code example:
set_time_limit(0);
ob_implicit_flush();
for(;;)
{
echo "hello\n";
sleep(10);
}
This code works just fine in 4.1.2, same for 4.2.2. But not in 4.2.3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19584&edit=1