ID: 29982 User updated by: walter at cybermight dot com Reported By: walter at cybermight dot com Status: Open Bug Type: IIS related Operating System: Windows2000Srv and Win2003Srv PHP Version: 4.3.8 New Comment:
Never mind, I found the problem and resolved it. It is a setting in IIS5 and 6 specifying the CGI timeout in seconds, default 300. File 180MB got uploaded, time 28+min No PHP bug!! www.cybermight.com Previous Comments: ------------------------------------------------------------------------ [2004-09-05 02:09:55] walter at cybermight dot com Description: ------------ using: Win2KSrv, IIS5, PHP4.3.8 Win2003Srv, IIS6, PHP4.3.8 (the latest stable version files) File Upload attempt exceeding approx. 280-310 seconds: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. Same error after attempting the following steps: Upgrading to manual install of 4.3.8 php ini settings: default_socket_timeout = 3600 auto_detect_line_endings = Off safe_mode = Off max_execution_time = 3600 max_input_time = 3600 memory_limit = 100M post_max_size = 100M enable_dl = Off (have tried = On) cgi.force_redirect = 0 file_uploads = On auto_detect_line_endings = On IIS Application timeout is set to 60 minutes (standard 20). IIS Connection timeoutset to 3600 (secs) In the actual .php file consisting of the upload script I also added the line: set_time_limit(6000); Independent of the browser used Netscape7, Opera7.x or IE6x, and independent of the platform used to upload larger files exceeding this execution time limit, it produces this error. If there is a bugfix, it's certainly not completely eliminated in the 4.3.8 version, neither in the STABLE_VERSION as offered/downloaded, installed, tried. Unfortunately there is no fix for this at Microsoft either, no IIS updates resolving this bug. So who actually is it that this problem needs to be addressed to? It takes about 5 minutes for PHP to cancel the session, so if you want to try it our you need to upload a big enough file depending on your connection e.g. 25MB file with Cable upload speed 384K, or upload a 5MB file from a dial-up, that will do to reproduce the error. Any helpful input greatly appreciated! Walter Reproduce code: --------------- http://cybermight.com/file_transfer/php_upload.php Expected result: ---------------- files up to 50MB or even more sometimes should be possible to be uploaded via most common connection speeds cable, dial-up, DSL without timing out the CGI. Actual result: -------------- tested - used platforms to attempt large upload: MACOS9,X - Linux latest - Windows latest (XP, Server2003) tested PHP4.3.8 on Win2000 and 2003 Servers running IIS 5 and 6 Error summary in browsers: Opera 7x: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. Internet Explorer 6x: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Netscape: Popup: The document contains no data ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29982&edit=1
