Hi,I have just installed AlmaLinux 9.5 on my home computer and I am trying to change the values of “max_input_vars” in php config file as requested by Moodle, i.e. changing it from “1000” to “5000”.
The config file has been read, as stated by phpinfo(), from
|Loaded Configuration File|/etc/opt/remi/php82/php.ini|
|Scan this dir for additional .ini files|/etc/opt/remi/php82/php.d|
So I changed the value in that above location, restarted the system,not just apache, but the shown value is always “1000”, even if in the file the value is set properly (of course I removed the initial";").
I changed the php.ini under "etc in the case some programs look at this,but my value is always “1000”.
So my question: where can I change this value so that I have a real value changed to “5000”?
Thank you all
Now I noted that the Alma Linux Version now is 9.6 :I do not know if it matters.
I have to use remi because Moodle requires a higher version of php, so remi.
I looked at any *.ini file under /etc/opt/remi/php82/php.d/ but I did not find anything for max_input_vars
I looked around for something regarding FPM but until now I found nothing .
Now I try looking for some strange user.ini…
I am a newbie on REdHat /Alma, so, for the moment I was not able to remove remi and to work on a default environment. However I installed 8.3 from Remi and, after changing the php.ini file /etc/opt/remi/php83/php.ini, and restarted the services, the shown values of max_input_vars is the correct one. So, maybe, the issue, is on version 8.2 from remi.