From:             mikeb414 at earthlink dot net
Operating system: Windows XP
PHP version:      4.3.1
PHP Bug Type:     Feature/Change Request
Bug description:  max_execution_time interferes with large POST file uploads

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 bug report at http://bugs.php.net/?id=24780&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24780&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24780&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24780&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24780&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24780&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24780&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24780&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24780&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24780&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24780&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24780&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24780&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24780&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24780&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24780&r=gnused

Reply via email to