ID:               20819
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Linux 2.2.20 (Debian)
 PHP Version:      4.2.3
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use stream_set_timeout() to set the socket read timeouts, since socket
reads don't take cpu time, which is what max_execution_time is
referring to. While your script is sitting on a socket waiting for
data, it does not use any CPU time.


Previous Comments:
------------------------------------------------------------------------

[2002-12-04 17:21:32] [EMAIL PROTECTED]

When PHP is waiting for a socket read the max_exection_time parameter
is ignored. I was trying to use PHP scripts to monitor server response
times but when there is a problem the script does not kill itself. 

It does not matter how I specify the max_execution_time. For instance
like this:
php4 -d max_execution_time 5

This behaviour was already in all previous versions I used.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20819&edit=1

Reply via email to