costacja Posted yesterday at 05:04 PM Posted yesterday at 05:04 PM Hi, I am running a Moodle 5 site as a personal hobby project, and I need the max_input_vars parameter in the PHP settings to be set to at least 5000 for it to function correctly. Could you please help me update this or adjust it on your end? Thanks, C. Costa Quote
MoneyBroz Posted yesterday at 06:15 PM Posted yesterday at 06:15 PM This support request is being escalated to our root admins. Quote
Krydos Posted 2 hours ago Posted 2 hours ago It looks like Moodle doesn't support PHP 8.5 yet, but is there any particular reason you're not using PHP 8.4 which Moodle does support? Quote
costacja Posted 1 hour ago Author Posted 1 hour ago Hi, I have installed Moodle 5.0.3 via Softaculous on my subdomain elearning.minutice.helioho.st, and it works well with PHP 8.3 and 8.5. However, when I try to upgrade to Moodle 5.0.6, the process fails. The error message states that max_input_vars must be set to at least 5000. Yesterday, I installed Moodle 5.1.3 from Softaculous in minutice.helioho.st domain, to try, and it works well. Besides the first installation, which works, I think that I cannot update or upgrade Moodle if max_input_vars isn´t set to 5000 at least. Based on my tests, the PHP version itself isn't the issue, but rather this specific setting required for the upgrade process. Could you please help me adjust this setting or update it on your end? Thanks, C. Costa Quote
Krydos Posted 1 hour ago Posted 1 hour ago Yes, I can change the max_input_vars, but if you change the PHP version the max_input_vars will go back to the default value. Therefore you should make sure you're using the correct version of PHP prior to changing the max_input_vars. Generally it's a good idea to use the latest version of PHP that your software supports. Since Moodle doesn't support PHP 8.5 yet, that means PHP 8.4 is the latest support version, and yet you're using PHP 8.3. Like I said, is there any particular reason you can't use PHP 8.4? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.