Page 1 of 1

Problem with changing values in php.ini

Posted: Tue 12. May 2020, 09:28
by frajer
Hi!

I have forum, and because im using many plugins, custom CSS templates and much more stuff, i need to make some changes in php.ini.
I want to change max_input_vars from 1000 to 10000, but after change in /etc/php/fpm/7.2/php.ini i still see 1000.
I also restarted php-fpm (by command sudo service php7.2-fpm restart), but it still showing 1000.

How to change it? Am i changing wrong php.ini file, in wrong location?

Thanks!

Re: Problem with changing values in php.ini

Posted: Tue 12. May 2020, 09:50
by Tobi
Do not edit /etc/php/fpm/7.2/php.ini

You can change the php.ini settings for each user within the user settings ==> tab php settings

Re: Problem with changing values in php.ini

Posted: Tue 12. May 2020, 09:53
by frajer
Thanks for a reply!

Should i just put max_input_vars = 10000; to Additional PHP settings?

Re: Problem with changing values in php.ini

Posted: Tue 12. May 2020, 10:34
by Tobi
frajer wrote: Tue 12. May 2020, 09:53 Thanks for a reply!

Should i just put max_input_vars = 10000; to Additional PHP settings?
Yes. This is the right way.

Re: Problem with changing values in php.ini

Posted: Tue 5. Jan 2021, 17:42
by lmarcos
What if you can't change the values in tab php settings on keyhelp?

Re: Problem with changing values in php.ini

Posted: Tue 5. Jan 2021, 18:05
by Florian
Hallo,

why it should not be possible? If you are a Keyhelp admin user you can change the settings in the PHP tab.

Re: Problem with changing values in php.ini

Posted: Wed 6. Jan 2021, 12:28
by lmarcos
Because every time I try I get the error in viewtopic.php?f=12&p=27288#p27288 MySQL - Query Error: Unknown column 'ssh_jail' in 'field list' (1054)