Re: #16880 [Csd]: max_execution_time affects large uploads

From: Date: Thu, 07 Nov 2002 18:25:06 +0000
Subject: Re: #16880 [Csd]: max_execution_time affects large uploads
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90619@lists.php.net to get a copy of this message
Hi, He's right about the default value. People who have 'tweaked' there upload settings to accept large uploads, are now confronted with a setting that breaks their site. We could be looking at another 'register_globals' disaster, unless: a) we set the default to max_execution_time and issue a warning and/or b) we mention this at the end of the installer and/or c) have examples ready which will show users how to minimize the
    work involved and still have a working site.
The other complaints from 'zebz' is just extrapolation on guesswork(tm). At 18:05 11/7/2002 +0000, iliaa@php.net wrote:
 ID:               16880
 Updated by:       iliaa@php.net
 Reported By:      zebz@hotmail.com
 Status:           Closed
 Bug Type:         Scripting Engine problem
Operating System: *
 PHP Version:      4.3.0-dev
New Comment: This option is PHP_INI_ALL, meaning that you can change it's value anywhere you want. IMHO your complaints have no merit. Previous Comments: ------------------------------------------------------------------------ [2002-11-07 10:51:56] zebz@hotmail.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.. ------------------------------------------------------------------------ [2002-10-12 21:59:32] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip (I can not reproduce this with this snapshot) ------------------------------------------------------------------------ [2002-10-12 21:02:59] webmaster@tsn.dk Confirmed in 4.2.3 ------------------------------------------------------------------------ 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
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua <@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?"

« previous php.dev (#90619) next »