Bug #63098 [Opn->Nab]: max_input_vars master value preferred over local
| From: | ab@php.net | Date: | Mon, 01 Oct 2012 13:32:29 +0000 |
| Subject: | Bug #63098 [Opn->Nab]: max_input_vars master value preferred over local | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173840@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63098&edit=1
ID: 63098
Updated by: ab@php.net
Reported by: xpipe at hotmail dot de
Summary: max_input_vars master value preferred over local
-Status: Open
+Status: Not a bug
Type: Bug
Package: Scripting Engine problem
Operating System: Windows Server 2012
PHP Version: 5.4.7
Block user comment: N
Private report: N
New Comment:
it has resolved itself :)
Previous Comments:
------------------------------------------------------------------------
[2012-09-16 19:00:56] xpipe at hotmail dot de
Nevermind, I missed that these values are PHP_INI_PERDIR and cannot be set using the registry method
thus. Using .user.ini it worked.
Be that as it may, it's somewhat confusing if PHP shows a local value applied in phpinfo()
whilst that value has no effect.
------------------------------------------------------------------------
[2012-09-16 12:10:09] xpipe at hotmail dot de
Description:
------------
I'm running the latest phpMyAdmin which requires a high enough value of max_input_vars in order
to work. Having lowered the value to 200 globally in the php.ini, since no other site of mine would
require a higher value, I had to increase value for it. I did so using the "per directory"
settings registry key and verified in phpinfo() that the change was applied.
Now my problem is that if max_input_vars is 1000 locally, but only 200 as master value it fails, but
if I increase it to 300 in the php.ini (local value remains the same) it works.
From my understanding of the documentation however, the value should be changeable locally and the
master value should be of no difference if I overwrite the setting for a folder.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63098&edit=1