Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI timeout on ISS not the max_execution_time option !!

Status
Not open for further replies.

danielemasson

Programmer
Apr 6, 2002
23
CO
Hay every1 ...

Im working PHP on IIS4, the aplication is an ftp client using FTP functions of PHP ... when trying to send a long file like 8 or 9 MB the server returns

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

i tried trough Right click on the virtual site > Properties > and ioncrease the conection timeout ... did not work

also tried trough Right click on the virtual site > Properties > Home directory > Application settings > configuration > App Options > Session timeout > increase ... did not work ...

how can i really increase this timeout so i can complete all the transfers ??
 
PHP also has an execution limit. Check the value of max_execution_time in php.ini. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Could maybe try using set_time_limit(0) function...if you can't change the ini
 
another thing,

uploads in PHP are restricted (by default) to 2 MB. So beware of that.

Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top