[PHP] CGI Timeout

2003-07-29 Thread imran
Hi,
i facing a error during uploading a big size file (abt 200 MB). i incred =
upload file size in php.ini and also incred connection time in IIS (web =
server), but i getting again this below written error msg.

any one known abt this...

CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has 
deleted the process.


thnx

gnome






[PHP] CGI timeout problem

2003-07-29 Thread imran
hello,

I wrote a very simple upload script and it perfectly works for small files. But if the 
file is too huge (I tried with 8Mbytes), my browser displays:

The page cannot be displayed
...
Cannot find server or DNS Error
Internet Explorer 


instead of uploading the file and submitting the form to my upload.php file. I set 
my upload_max_size to 10MB both in php.ini and in my form. And my web server is 
running under IIS 5.

here is one of my user feedback:

CGI Timeout

The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.


does it mean that I have to use set_time_limit so the script doesn't time out ? I 
don't really understand why I should do that.

thanks,



Re: [PHP] CGI timeout problem

2003-07-29 Thread John W. Holmes
imran wrote:
CGI Timeout

The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.

does it mean that I have to use set_time_limit so the script doesn't time out ? I don't really understand why I should do that.
You may be reaching an IIS imposed time limit instead of a PHP one. 
Usually the PHP error is different (but I use ISAPI instead of CGI).

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals  www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] cgi timeout

2001-08-17 Thread Erik H. Mathy

I haven't had to use IIS5 yet, but you might want to check in the IIS
setting for a max cgi execution time.

- Erik

 -Original Message-
 From: Raymond Siow [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 17, 2001 4:00 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] cgi timeout


 Hi:

 I am trying to run a script and it supposed to take a lot of time... so
 I set the max_execution_time in the config file to 0...  (i think that's
 wat it's for no time limit) but after exactly 5 mins it gives me a
 cgi error saying that the cgi application exceeded the allowed time for
 processing so i changed the number to 1800 it still gets killed
 in 5 mins I have my php installed on a win2k system with IIS 5 under
 the dir c:\php and the file php.ini has been edited and put into
 c:\winnt\  What am I supposed to do in order to allow my script to run
 more than 5 mins??

 yours,
 Ray


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] cgi timeout

2001-08-17 Thread Raymond Siow

ummm I tried look at the IIS setting... but couldn't find anything related
to CGI execution time do you know how to change that if I were to do it?

Ray

Erik H. Mathy wrote:

 I haven't had to use IIS5 yet, but you might want to check in the IIS
 setting for a max cgi execution time.

 - Erik

  -Original Message-
  From: Raymond Siow [mailto:[EMAIL PROTECTED]]
  Sent: Friday, August 17, 2001 4:00 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] cgi timeout
 
 
  Hi:
 
  I am trying to run a script and it supposed to take a lot of time... so
  I set the max_execution_time in the config file to 0...  (i think that's
  wat it's for no time limit) but after exactly 5 mins it gives me a
  cgi error saying that the cgi application exceeded the allowed time for
  processing so i changed the number to 1800 it still gets killed
  in 5 mins I have my php installed on a win2k system with IIS 5 under
  the dir c:\php and the file php.ini has been edited and put into
  c:\winnt\  What am I supposed to do in order to allow my script to run
  more than 5 mins??
 
  yours,
  Ray
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] cgi timeout

2001-08-17 Thread Raymond Siow

Seems like I've just found it if you look at how to config cgi setting in the
IIS help file... it will tell you about it...

yours,
Ray

Raymond Siow wrote:

 ummm I tried look at the IIS setting... but couldn't find anything related
 to CGI execution time do you know how to change that if I were to do it?

 Ray

 Erik H. Mathy wrote:

  I haven't had to use IIS5 yet, but you might want to check in the IIS
  setting for a max cgi execution time.
 
  - Erik
 
   -Original Message-
   From: Raymond Siow [mailto:[EMAIL PROTECTED]]
   Sent: Friday, August 17, 2001 4:00 PM
   To: [EMAIL PROTECTED]
   Subject: [PHP] cgi timeout
  
  
   Hi:
  
   I am trying to run a script and it supposed to take a lot of time... so
   I set the max_execution_time in the config file to 0...  (i think that's
   wat it's for no time limit) but after exactly 5 mins it gives me a
   cgi error saying that the cgi application exceeded the allowed time for
   processing so i changed the number to 1800 it still gets killed
   in 5 mins I have my php installed on a win2k system with IIS 5 under
   the dir c:\php and the file php.ini has been edited and put into
   c:\winnt\  What am I supposed to do in order to allow my script to run
   more than 5 mins??
  
   yours,
   Ray
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
  


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]