ID: 17195
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: IIS related
Operating System: win2000
PHP Version: 4.2.0
New Comment:
The no is #17170
Previous Comments:
------------------------------------------------------------------------
[2002-05-14 04:53:55] [EMAIL PROTECTED]
What is the number of the previous bugreport?
------------------------------------------------------------------------
[2002-05-13 22:43:39] [EMAIL PROTECTED]
Hi derek
Sorry for open a new bug report again, because I cannot change the
status of the previous bug report from bogus to open. sorry for the
inconvenience.
This is my first time to report bug and sorry of my stupid way to
present my problem before. I would like to describe my problem again.
I have simpplified my php script as follow:
////////////////////////////////////
<html>
<head>
<title>Proactive Channel Monitor</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta http-equiv=refresh content=10>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?php
$result = fsockopen("127.0.0.1","12345",$errno,$errstr,10);
if($result === true)
{
//send sth to server
:
:
:
}
else
echo "$errno";
?>
</body>
</html>
////////////////////////////////////
I want to connect to a server socket and the php will be refresh in 10
sec.
Now, my server socket is down. So my expect result is: fsockopen()
return false->the error no is print out->the page refresh after 10 sec
to reconnect.
And the actual result is that it work under my expectation,but after
the page refresh for about 20 times. PHP is crash and from the "Event
viewer" of win2000. I found that:
Source:WAM
Event ID:204
Type:error
Description:
The HTTP server encountered an unhandled exception while processing the
ISAPI Application '
php4ts!zend_strndup + 0x2B
+ 0xA05E5983
'.
After that, I have to restart the IIS to make PHP work again
Is there any other method for me to collect more information for
helping debug??
Thx!!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17195&edit=1