#16880 [Com]: max_execution_time affects large uploads

From: Date: Sat, 19 Apr 2003 23:22:58 +0000
Subject: #16880 [Com]: max_execution_time affects large uploads
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37914@lists.php.net to get a copy of this message
 ID:               16880
 Comment by:       elfugitivo at lycos dot com
 Reported By:      zebz at hotmail dot com
 Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: *
 PHP Version:      4.3.0-dev
 New Comment:

Well i´m working with php 4.3.1 and the problem is still there, wich is
the correct use of ini_set for max_execution_time?

Thanks.


Previous Comments:
------------------------------------------------------------------------

[2002-11-08 04:42:39] m dot ford at lmu dot ac dot uk

Um -- shouldn't it be PHP_INI_SYSTEM | PHP_INI_PERDIR only, since
setting it within a script can't possibly influence file uploads which
must necessarily already have happened?

Cheers!

Mike

------------------------------------------------------------------------

[2002-11-07 12:05:14] iliaa@php.net

This option is PHP_INI_ALL, meaning that you can change it's value
anywhere you want. IMHO your complaints have no merit.

------------------------------------------------------------------------

[2002-11-07 10:51:56] zebz at hotmail dot com

Why did you have to introduce this new max_input_time setting? Sorry
but the default value of max_input_time is ridiculously low, 60 seconds
is just enough to upload a 300Kb file with a dialup connection!

I can't find any documentation yet but I bet that this max_input_time
setting can only be changed on a system-wide level. Is the goal to
produce an easy-to-use language? Do you realize that the large majority
of PHP users on virtual hosting can't change their configurations and
having such ridiculous default settings makes uploads impossible for
all of them?

------------------------------------------------------------------------

[2002-10-21 08:12:04] iliaa@php.net

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

There is a new ini setting, max_input_time that will allow you to
specify how much time a script may spend parsing input data such as
file uploads etc...

------------------------------------------------------------------------

[2002-10-12 22:04:36] sniper@php.net

Nevermind, I had wrong php.ini settings.
Reproduced here too..


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16880

-- 
Edit this bug report at http://bugs.php.net/?id=16880&edit=1



Thread (16 messages)

« previous php.bugs (#37914) next »