FIle Upload/Download Times Out
Posted: Mon Nov 24, 2008 4:57 pm
I am having a problem with file transfers using a PHP script timing out.
Currently using phpinfo() I have HTTP_KEEP_ALIVE 300. From what I have read this means an http session will stay alive for 300 seconds and then drop from inactivity. From my tests this makes sense as my uploads and downloads time out after 5 minutes or 300 seconds. Unfortunately all my attempts at changing this setting have failed. I have tried to change it using commands to over ride it in the upload script to no avail. I have tried to set things in php.ini. The only place I have not changed anything is in the web server. Hold onto your hats because...
System - IIS 5, PHP 5.2.5
I have no choice on the server, it is what it is. How do I change the http timeout on an IIS server, or over ride it? Can I do it from a script and if so how. Or is it better to increase the timeout using some setting in IIS? If so what is the setting and where do I find it. I have to give very specific instructions to the server owner, I do not have access to it to make changes.
Any help would be great.
Thanks
Mesept
Currently using phpinfo() I have HTTP_KEEP_ALIVE 300. From what I have read this means an http session will stay alive for 300 seconds and then drop from inactivity. From my tests this makes sense as my uploads and downloads time out after 5 minutes or 300 seconds. Unfortunately all my attempts at changing this setting have failed. I have tried to change it using commands to over ride it in the upload script to no avail. I have tried to set things in php.ini. The only place I have not changed anything is in the web server. Hold onto your hats because...
System - IIS 5, PHP 5.2.5
I have no choice on the server, it is what it is. How do I change the http timeout on an IIS server, or over ride it? Can I do it from a script and if so how. Or is it better to increase the timeout using some setting in IIS? If so what is the setting and where do I find it. I have to give very specific instructions to the server owner, I do not have access to it to make changes.
Any help would be great.
Thanks
Mesept