Greetings
I am quite new to system administration so this is likely just a noobie stupidity but - - - -
In trying to work through the configuration screen I am getting
>max_input_vars=1000 is too small - value should be at least 2000, 4000 recommended - check your php configuration (php.ini)
so I use
# locate php.ini
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.0/fpm/php.ini
/usr/lib/php/7.0/php.ini-development
/usr/lib/php/7.0/php.ini-production
/usr/lib/php/7.0/php.ini-production.cli
change the value of
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 4000
in all 6 to the above, then do a service apache2 restart - - - - and the configuration is still complaining that I'm only allowing 1000 and I should allow more.
How do I change the php.ini file or which one or ????? do I do to fix this ?
Hello,
"max_input_vars=1000 is too small - value should be at least 2000, 4000 recommended - check your php configuration (php.ini)."
You have to open php.ini and change the value of "max_input_vars" to 2500.
I had used the following:
# locate php.ini
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.0/fpm/php.ini
/usr/lib/php/7.0/php.ini-development
/usr/lib/php/7.0/php.ini-production
/usr/lib/php/7.0/php.ini-production.cli
and had changed the value of this:
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 4000
to 4000 - - - - which was the recommended number.
So you are suggesting to change all 6 of the php.ini files so that they all read 2500 for this variable NOT 4000?
Please advise.
you need to change only file
/etc/php/7.0/apache2/php.ini
and set value to 4000 (2500 will be good, but 4000 should be best)
Don't forget to remove the comment character (;) and restart apache to take new parameter into account.
you need to change only file
/etc/php/7.0/apache2/php.ini
and set value to 4000 (2500 will be good, but 4000 should be best)
Don't forget to remove the comment character (;) and restart apache to take new parameter into account.
Thank you - - - - I changed the values but did NOT remove the comment character.
Will redo (all six) and then restart apache2.
After I figure out the chmod/chown thing (I think I would be best served by doing both rather than one or the other).
Is there a way of marking 'solved' for the issue?
Thanking you for the assistance.
You can mark as solved with the Top "Action" menu-button