Bug #50684 [Com]: max_file_uploads can't be changed from .htaccess (or ini_set)

From: Date: Thu, 04 Mar 2010 19:04:48 +0000
Subject: Bug #50684 [Com]: max_file_uploads can't be changed from .htaccess (or ini_set)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148269@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50684&edit=1

 ID:               50684
 Comment by:       
 Reported by:      john dot peterson10 at gmail dot com
 Summary:          max_file_uploads can't be changed from .htaccess (or
                   ini_set)
 Status:           Bogus
 Type:             Bug
 Package:          PHP options/info functions
 Operating System: Windows
 PHP Version:      5.2.12

 New Comment:

Can we at least get the documentation changed? Currently it says
PHP_INI_ALL which would include htaccess and ini_set.


Previous Comments:
------------------------------------------------------------------------
[2010-01-07 10:15:21] jani@php.net

Allowing that to be changed would open a can of worms.

------------------------------------------------------------------------
[2010-01-07 08:33:59] john dot peterson10 at gmail dot com

Description:
------------
The setting max_file_uploads can't be changed from .htaccess.

I think it should be possible to change max_file_uploads, like it's
possible to change upload_max_filesize, post_max_size and max_input_time
from .htaccess.

Reproduce code:
---------------
@.htaccess

php_value max_file_uploads 50

@settings.php

<?PHP
ini_set('max_file_uploads', "50");
echo "max_file_uploads: " . ini_get('max_file_uploads');
?>

Expected result:
----------------
max_file_uploads is changed to 50

Actual result:
--------------
max_file_uploads is not changed from its default (or php.ini) value


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



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


Thread (6 messages)

« previous php.bugs (#148269) next »