Bug #61009 [Nab]: max_input_vars

From: Date: Wed, 08 Feb 2012 13:37:04 +0000
Subject: Bug #61009 [Nab]: max_input_vars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167288@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61009&edit=1

 ID:                 61009
 User updated by:    j dot hensoldt at gmx dot de
 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:

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)


Previous Comments:
------------------------------------------------------------------------
[2012-02-08 13:14:26] aharvey@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


Thread (5 messages)

« previous php.bugs (#167288) next »