Problem with changing values in php.ini

Locked
User avatar
frajer
Posts: 29
Joined: Thu 23. Apr 2020, 22:00

Problem with changing values in php.ini

Post 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!
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Problem with changing values in php.ini

Post 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
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
User avatar
frajer
Posts: 29
Joined: Thu 23. Apr 2020, 22:00

Re: Problem with changing values in php.ini

Post by frajer »

Thanks for a reply!

Should i just put max_input_vars = 10000; to Additional PHP settings?
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Problem with changing values in php.ini

Post 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.
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
lmarcos
Posts: 78
Joined: Sun 26. Jan 2020, 12:55

Re: Problem with changing values in php.ini

Post by lmarcos »

What if you can't change the values in tab php settings on keyhelp?
User avatar
Florian
Keyweb AG
Posts: 1243
Joined: Wed 20. Jan 2016, 02:28

Re: Problem with changing values in php.ini

Post 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.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
lmarcos
Posts: 78
Joined: Sun 26. Jan 2020, 12:55

Re: Problem with changing values in php.ini

Post 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)
Locked