Edit report at https://bugs.php.net/bug.php?id=61009&edit=1
ID: 61009 Comment by: jdeluca2000 at kellogg dot northwestern dot edu Reported by: j dot hensoldt at gmx dot de Summary: max_input_vars Status: Not a bug Type: Bug Package: PHP options/info functions Operating System: Debian squeeze PHP Version: 5.3SVN-2012-02-08 (SVN) Block user comment: N Private report: N New Comment: Hello, can you explain how you were able to change the max_input_vars directive? Exactly which file did you edit and what is the code needed to change it to something other than 1,000? Previous Comments: ------------------------------------------------------------------------ [2012-02-10 11:11:21] j dot hensoldt at gmx dot de SOLVED :-) It was suhosin. The parameters: suhosin.get.max_vars suhosin.post.max_vars suhosin.request.max_vars overwrite max_input_vars in php.ini. That´s confused. ------------------------------------------------------------------------ [2012-02-08 13:37:04] j dot hensoldt at gmx dot de ok, max_input_vars cant´t be set using ini_set(). I did not know that - thanks. But i cant´t set max_input_vars in php.ini too. phpinfo() displays the correctly changed value (for example max_input_vars=5000), but the array-input-variables with index > 1000 are truncated. (sorry for my english, i hope you can understand me) ------------------------------------------------------------------------ [2012-02-08 13:14:26] ahar...@php.net As http://au2.php.net/manual/en/info.configuration.php says, max_input_vars is PHP_INI_PERDIR, so can't be set with ini_set(). ------------------------------------------------------------------------ [2012-02-08 13:00:06] j dot hensoldt at gmx dot de Description: ------------ I am using PHP 5.3.3-7+squeeze7 on Debian+Apache2. I cann´t change the parameter max_input_vars. <? ini_set("max_input_vars","5000"); phpinfo(); ?> A change of max_input_vars in php.ini does not work too. phpinfo() displays the correctly changed value, but the internal value of max_input_vars is not changed and is always 1000. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61009&edit=1