2012-05-25 21:35 阅读 260


I found the location of my php.ini file on my windows server and changed the max_input_vars line from 1000 to 3000 and changed post_max_size to 16m and rebooted my server. Now, the post_max_size changed, but the max_input_vars didn't when I check phpinfo.

I even searched my server for other variations of my php.ini file and changed max_input_users in those, as well, including php.ini.development and another one. Still no change when I look at my phpinfo.

I also thought maybe sehosin was installed, so I added the lines:

suhosin.request.max_vars = 3000
suhosin.post.max_vars = 3000

Still, my max_input_vars = 1000.

How does one change this value??

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享