#24780 [Opn->Csd]: max_execution_time interferes with large POST file uploads
ID: 24780
Updated by: sniper@php.net
Reported By: mikeb414 at earthlink dot net
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows XP
PHP Version: 4.3.1
New Comment:
Already done: See "max_input_time" directive in php.ini.
Previous Comments:
------------------------------------------------------------------------
[2003-07-23 17:07:04] mikeb414 at earthlink dot net
Description:
------------
SHORT VERSION:
I suggest that either setting the time limit to 0 in php.ini results in
no time limit, or that the time it takes for an HTTP POST file upload
to be transferred not be counted in script execution time.
I have seen others with similar bugs, such as bug #18579 which was
marked cannot reproduce, but it still seems to be an issue.
LONG VERSION:
I have found it impossible to defeat the max_execution_time limit with
scripts that process uploaded files. I was told that setting
max_execution_time to 0 in php.ini would allow scripts to run for an
unlimited time, but in practice, when the file has completed uploading
php just gives me a Fatal error: Maximum execution time of 0 seconds
exceeded.
I can't use functions like set_time_limit or ini_set either because php
waits for the file to complete uploading before processing the first
line of the script. Therefore I request a change such as one of the
suggestions above be considered.
Reproduce code:
---------------
N/A: Feature request
Expected result:
----------------
N/A: Feature request
Actual result:
--------------
N/A: Feature request
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24780&edit=1
Thread (2 messages)