Question
How to manage the PHP variable max_input_vars
in Plesk?
Answer
The variable can be set for one domain, or globally for all domains.
One Domain
All Domains
-
Log in to Plesk
-
Go to Domains > example.com > PHP
-
Add
max_input_vars
with the desired value to Additional configuration directivesmax_input_vars = 3000
-
Press OK to save the changes
- Log in to Plesk
- Go to Tools & Settings > PHP Settings > <Desired PHP handler>
- Switch to the php.ini tab
- Search for
max_input_vars
, remove the;
in front, and enter the desired value - Press OK to save the changes