new limit within php: 1000 fields per POST. Does someone know, if the number can be influenced?

后端 未结 9 2068
北荒
北荒 2020-11-27 04:53

In newer PHP-Versions the count of input-fileds per formula (POST) will be limited to 1000 (unverified information). It seams that this limit is already installed in certain

9条回答
  •  醉话见心
    2020-11-27 05:00

    I too have come across this issue, working on a localised installation of my code, and Debian Sid has upgraded to 5.4 RC4 PHP. A form of over 7000 lines with checkboxes (!) suddenly only processed 1001 of these in the $_POST data...head scratching for a few hours.

    Made the change in /etc/php5/apache2/php.ini:

    max_input_vars = 5000
    

    save, and restart apache, and it's all good now.

提交回复
热议问题