PDA

View Full Version : Server Timout - "CGI Error"


Horus_Kol
05-26-2006, 07:49 AM
PHP4 on IIS 6 (win2K3 server)

I'm having some trouble because of uploads from remote engineers - they're using 3G mobile connections, so their datarate is not too high...

anyway - the upload seems to timeout after about 5 and a half minutes, and the server returns a message about the script misbehaving by sending incomplete headers.


I'm not sure what is happening...

IIS is set to 120s (with http keep-alives)
PHP.ini is set to a max execution of 30s, with 60s for max input time

the script itself is currently overriding with 1200s for max execution...

so I don't know why it stops at 5 and a half minutes (330s)...


any ideas?

afterburn
06-02-2006, 12:46 AM
Are you timing it ?? How do you come up with that time length?

Keep-alives are for the use of connection with multiple requests on the same connection. That isn't what you are looking for. You need to change the script timeout in the CGI script application properties.