PHP的max_input_vars [英] PHP max_input_vars
问题描述
我收到一条max_input_vars
错误消息.
I'm getting a max_input_vars
error message.
我知道有一个php.ini
设置可以从5.3.9版本开始更改此设置,但是,我正在运行5.1.6版本.
I understand there's a php.ini
setting that can change this starting with version 5.3.9 however, I'm running version 5.1.6.
当我查看我的5.1.6服务器的配置信息时,它显示max_input_vars
的值为1000.
When I view the configuration information for my 5.1.6 server it shows max_input_vars
value is 1000.
我的问题是:即使我正在运行5.1.6,也可以从phpinfo()
看到此设置,但是它不在php.ini
文件中.这是否意味着该值已在此版本的PHP中进行了硬编码,并且无法更改?
My question is: Even though I'm running 5.1.6, I see this setting from phpinfo()
but it's not in the php.ini
file. Does this mean that the value is hard coded in this version of PHP and can't be changed?
推荐答案
您可以将其添加到php.ini,它应该可以工作-刚刚在PHP 5.3.6上进行了测试.
You can add it to php.ini and it should work - just tested it on PHP 5.3.6.
这篇关于PHP的max_input_vars的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!