From:
Operating system: Linux / CentOS 5.2
PHP version: 5.2.14
Package: PHP options/info functions
Bug Type: Feature/Change Request
Bug description:Re-open #50684
Description:
------------
Issue #50684 ("max_file_uploads can't be changed from .htaccess (or
ini_set)")
is currently "closed", but was not satisfactorily resolved.
"[email protected]" did not provide a legitimate reason why the
"max_file_uploads"
setting should not be override-able at the apache or .htaccess level.
Since PHP allows other settings like "memory_limit", "max_execution_time",
and
the like to be overridden, it does not make intuitive sense for the
"max_file_uploads" setting to be left out.
Until this is fixed, we are running with this setting disabled. Meanwhile,
other
developers who have encountered this "feature" of PHP 5.2.12 and later have
had
to resort to ugly, non-standard JavaScript hacks to get around the inherent
problems with the approach of this setting.
See:
http://allinthehead.com/retro/349/the-curse-of-max_file_uploads
I would dearly like to see this setting not go the way of the ill-fated
"safe_mode" setting, where it's implemented but no one can use it because
it
isn't useful to anyone in particular.
--
Edit bug report at http://bugs.php.net/bug.php?id=52946&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52946&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52946&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52946&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52946&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52946&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52946&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52946&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52946&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52946&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52946&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52946&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52946&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52946&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52946&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52946&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52946&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52946&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52946&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52946&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52946&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52946&r=mysqlcfg