http 500 error when upload time over about 120s

if the file upload time over about 120s it will have a error is http 500 error, any one know what's going on? please help me.

if upload time under 120s(about) is OK.

please help

gyphie's picture

Script timeout

PHP and ASP.Net and other technologies usually include a script timeout. This means that if the requested page takes longer than the timeout to complete then it just bails out. The prevents infinite loops or other heavy code from taking up too many resources on the server for too long.

Unfortunately, included in this time is the time it takes to upload the file. For your upload.php you need to change the script timeout.

The PHP Manual has information on changing the timeout on a per script basis. You can also change the timeout for all scripts in the PHP.INI

i try to find out where can

i try to find out where can i set in the php.ini but it is not a good news. can you tell me where can i set it. i am using v2.1.0 beta 1 version and the os is win 2003 server & IIS 6.0 + PHP 5.2.5, i am not sure is time out or not i just know when i using some slow network to upload the file, the problem will appear. please help me. Thanks.

here is the error message

SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 625106944. Total: 625106944
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 500.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: XPVOL_TW(SP2).iso, Message: 500