note 30165 modified in features.file-upload by didou

From: Date: Sun, 27 Jul 2003 16:18:24 +0000
Subject: note 30165 modified in features.file-upload by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52754@lists.php.net to get a copy of this message
This took me a few days to find out: when uploading large files with a slow connection to my WIN2K/IIS5/PHP4 server the POST form kept timing out at exactly 5 minutes. All PHP.INI settings were large enough to accomodate huge file uploads. Searched like hell with keywords like "file upload php timeout script" until I realised that I installed PHP as CGI and added that as a keyword. This was the solution: To set the timeout value: 1. In the Internet Information Services snap-in, select the computer icon and open its property sheets. 2. Under Master Properties, select WWW Service, and then click the Edit button 3. Click the Home Directory tab. 4. Click the Configuration button. 5. Click the Process Options tab, and then type the timeout period in the CGI Script Timeout box. --was-- This took me a few days to find out: when uploading large files with a slow connection to my WIN2K/IIS5/PHP4 server the POST form kept timing out at exactly 5 minutes. All PHP.INI settings were large enough to accomodate huge file uploads. Searched like hell with keywords like "file upload php timeout script" until I realised that I installed PHP as CGI and added that as a keyword. This was the solution: To set the timeout value: 1. In the Internet Information Services snap-in, select the computer icon and open its property sheets. 2. Under Master Properties, select WWW Service, and then click the Edit button 3. Click the Home Directory tab. 4. Click the Configuration button. 5. Click the Process Options tab, and then type the timeout period in the CGI Script Timeout box. Thanks to http://www.antipersonnel.org/develop/sandbox/cgist.html ! http://www.php.net/manual/en/features.file-upload.php

« previous php.notes (#52754) next »