Recent output on the server
"PHP message: PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0" while reading response header from upstream
will continue to slow down the server
Modify php.ini according to data; max_input_vars = 1000 parameter. Always feel it is not the best way to modify this configuration, is there any relevant experience?
Reply content:
Recent output on the server "PHP message: PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0" while reading response header from upstream
will continue to slow down the server
Modify php.ini according to data; max_input_vars = 1000 parameter. Always feel it is not the best way to modify this configuration, is there any relevant experience?
The error warning is already obvious. You feel that the configuration is not the best way to change the reason is, in case the next time there are 10,000 parameters, you have to change the configuration. So you have to check from the source why a post will have so much data and there are no optimized points.
This is a new thing after php5.3. A bug that resolves a memory overflow caused by a previous mass parameter.
You should look at the source to see what is going on and try to optimize the source, and we have encountered this problem before. is the forum to save the various plate settings when, in fact, all the data are saved at once. As a result, this error is caused. Later by optimizing business logic. Fix the problem.
This will not only prompt the error, but will also truncate the following data: For example the original is 200. You post 201 elements. The last element was lost.