PHP setting max_input_vars must be at least 5000.

PHP setting max_input_vars must be at least 5000.

by 岱 赵 -
Number of replies: 5
I have modified max_input_vars =5000 as required, but the test still failserr
2
Average of ratings: -
In reply to 岱 赵

回复: PHP setting max_input_vars must be at least 5000.

by 岱 赵 -
moodle 4.2.5 PHP 8.1.2
In reply to 岱 赵

Re: 回复: PHP setting max_input_vars must be at least 5000.

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Die you reload the web server and PHP, if it is php-fpm? Try a higher value than 5000 as a test. ;)
In reply to Visvanath Ratnaweera

回复: Re: 回复: PHP setting max_input_vars must be at least 5000.

by 岱 赵 -
tanks,The apache2/php.ini file was modified and successfully applied.
In reply to 岱 赵

Re: 回复: Re: 回复: PHP setting max_input_vars must be at least 5000.

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
You mean, you could solve the problem? How exactly?

If not, get its value through PHP#Displaying phpinfo outside of Moodle
In reply to Visvanath Ratnaweera

回复: Re: 回复: Re: 回复: PHP setting max_input_vars must be at least 5000.

by 岱 赵 -
Yes I solved the problem, I changed max_max_input_vars in apache2/php.ini, originally I changed it in /cli/php.ini
Average of ratings: Useful (1)