php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63098 max_input_vars master value preferred over local
Submitted: 2012-09-16 12:10 UTC Modified: 2012-10-01 13:32 UTC
From: xpipe at hotmail dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.4.7 OS: Windows Server 2012
Private report: No CVE-ID: None
 [2012-09-16 12:10 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-16 19:00 UTC] 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-10-01 13:32 UTC] ab@php.net
it has resolved itself :)
 [2012-10-01 13:32 UTC] ab@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 12:01:32 2024 UTC