#22985 [NEW]: max_input_time
| From: | excalibur at hub dot org | Date: | Mon, 31 Mar 2003 17:25:33 +0000 |
| Subject: | #22985 [NEW]: max_input_time | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-36833@lists.php.net to get a copy of this message | ||
From: excalibur at hub dot org
Operating system: FreeBSD 4.8RC
PHP version: 4.3.1
PHP Bug Type: *Configuration Issues
Bug description: max_input_time
Hi All,
Ok, been doing some testing in relation to the file uploads issue to help
a client of mine and found the following issue. With 4.3.x the
max_input_time definition in the php.ini file seems to be ignored.
Regardless of what I set it to in that file, phpinfo() only shows a -1 in
the field and subsequently I can not upload any files larger then about 32
Kbytes. Anything more then that and the upload completes and the file
disappears.
Doing a quick search around the net shows that the -1 was supposed to
define unlimited time??
When I use a .htaccess file and set the value via:
php_flag max_input_time 600
phpinfo() shows the proper information, and that the 600 has taken
affect. At this time I can upload files upto the limits set via:
upload_max_filesize = XXM
I have a feeling that one of two things is happening, the "unlimited"
time is not being taken into account (if that is what the -1 denotes), or
the value is not being used at all via the php.ini settings, but forcing
it via a .htaccess file causes the value to be set properly..
--
Edit bug report at http://bugs.php.net/?id=22985&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22985&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22985&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22985&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22985&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22985&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22985&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22985&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22985&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22985&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22985&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22985&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22985&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22985&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22985&r=gnused