I found a bunch of files on the internet. The post_max_size and upload_max_filesize values of php. ini are set to a large value, which is useless. The client_max_body_size 500 m of nginx is added to such a large value, which is useless.
Finally, google finally got the solution: the variable max_input_vars was added in PHP from 5.3.9 to limit the number of submitted forms.
Later, I checked the php source code and saw the code:
| The code is as follows: |
Copy code |
If (++ count> PG (max_input_vars )){ Php_error_docref (NULL TSRMLS_CC, E_WARNING, "Input variables exceeded % ld. To increase the limit change max_input_vars in php. ini.", PG (max_input_vars )); Return; } |
Suddenly, php5.3.10 added a configuration command max_input_vars when resolving the hash conflict. Add the value of this command in php. ini.
This value is 1000 by default and cannot meet the requirements of more than 1000 input items. Therefore, you must add a larger value in php. ini, for example:
Max_input_vars = 5000