[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    [PHP-WIN] Weird timeout error
From:       "Charles P. Killmer" <charlesk () netgaintechnology ! com>
Date:       2003-08-27 13:23:27
[Download RAW message or body]


I have this script in the prepend directive.
 
<?
if (isset($REMOTE_ADDR))
   $REMOTEADDR = $REMOTE_ADDR;
else
   $REMOTEADDR = "";
 
if (isset($_SERVER["PATH_TRANSLATED"]))
   $FILE = $_SERVER["PATH_TRANSLATED"];
else
   $FILE = "";
 
if (isset($_SERVER["QUERY_STRING"]))
   $QUERY = $_SERVER["QUERY_STRING"];
else
   $QUERY = "";
if (isset($_SERVER["HTTP_USER_AGENT"]))
   $USERAGENT = $_SERVER["HTTP_USER_AGENT"];
else
   $USERAGENT = "";
 
error_log(date("m/d/Y
H:i:s")."\t".$FILE."\t".$QUERY."\t".$USERAGENT."\t".$REMOTEADDR."\r\n",3
,"e:\\errors\\perflogs\\".date("Ymd")."startperf.txt");
$TEMP = explode(" ",microtime());
$TIMINGstart = $TEMP[1] + $TEMP[0];
?>
 
This records the time that the script starts and a few other things and
writes them to a file.
 
A few days ago I got this error three times.
 
[19-Aug-2003 21:10:26] PHP Fatal error:  Maximum execution time of 240
seconds exceeded in c:\php\include\begin.php on line 2
[19-Aug-2003 21:10:26] PHP Fatal error:  Maximum execution time of 240
seconds exceeded in c:\php\include\begin.php on line 2
[19-Aug-2003 21:10:26] PHP Fatal error:  Maximum execution time of 240
seconds exceeded in c:\php\include\begin.php on line 2

How could this script have gotten to line 2 and timed out?  This script
runs all the time and has never done this before.
 
Windows 2000 Server SP2 IIS 5.0 PHP 4.3.2
I have these extensions enabled
extension=php_gd2.dll
extension=php_imap.dll
extension=php_mcrypt.dll
extension=php_mssql.dll
extension=php_openssl.dll
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_zip.dll

 
Charles Killmer
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic