From: walter at cybermight dot com Operating system: Windows2000Srv and Win2003Srv PHP version: 4.3.8 PHP Bug Type: IIS related Bug description: Maximum execution timeout... ~300sec
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 bug report at http://bugs.php.net/?id=29982&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29982&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29982&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29982&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29982&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29982&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29982&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29982&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29982&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29982&r=support Expected behavior: http://bugs.php.net/fix.php?id=29982&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29982&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29982&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29982&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29982&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29982&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29982&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29982&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29982&r=float
