Question
How to manage PHP max_input_vars
variable on Plesk for Linux?
Answer
For a single domain
-
Go to Domains > example.com > PHP Settings
-
Add the max_input_vars variable in the Additional configuration directives field and click OK to apply the changes:
max_input_vars = 3000
For particular PHP version
- Log in to Plesk GUI
- Go to Tools & Settings > PHP Settings > Click on the required PHP version. For example, PHP 7.4 FPM:
- Switch to the php.ini tab:
- Remove the semicolon symbol
;
beforemax_input_vars
parameter, set the desired value and click OK to apply the changes: