max_input_vars set even if commented in php.ini

孤街浪徒 提交于 2019-12-01 17:51:06
Pascal MARTIN

According to the manual, there is indeed a default value of 1000 for max_input_vars (look in the table at the beginning of the page).

If you want a value different than this default value of 1000, you will have to specify it -- and not comment the directive in your configuration.

As far as I can tell, there is no way to make max_input_vars unlimited ; you could set it to a high enough value, of course, but remember that this directive has been added recently as a security measure. Also, it doesn't make sense to set the max_input_vars to unlimited since then a malicious user could send a huge load of data and exhaust your memory.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!