Plesk for Windows
Plesk for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
The website is not accessible. The following error is shown in the browser screen:
PLESK_INFO: PHP Max Input Vars: [?] 1000 - Recommended Value: 3000. Max input vars limitation truncate POST data such as menus. Increasing max input vars limit needed.
Cause
Default value for max_input_vars
directive is insufficient.
Resolution
-
Increase
max_input_vars
parameter in Domains > example.com > PHP Settings > Additional configuration directives:
NOTE: If there is no Additional configuration directives in PHP settings, contact your system administrator.
Comments
7 comments
This is not available in my configuration.
How can I fix this issue?
@Cj De Weirt
Hello! Please perform the following command in command-line and let me know the output:
Hi, I tried this max_input_vars = 2000 and it try to update until the page logs me out.
It worked when I increased to 3000. Thanks.
Hi, i can't see additional directives, where is it ?
Thanks
Hi, @Alexandre Pez.
Additional PHP directives are available for admin account only, see the following article:
https://support.plesk.com/hc/en-us/articles/115000219453-There-are-no-Additional-PHP-directives-field-under-the-customers
In case you do not possess admin access, contact your service provider for assistance.
I kept getting this error when trying to export a large data file from my Wordpress site:
"You've reached your max_input_vars limit of 1000. Please contact your web host to increase it."
––––––––––––––––––––––––––––––––––––
This was the solution that worked for me...
reference: https://support.plesk.com/hc/en-us/articles/360005366713-How-to-manage-PHP-max-input-vars-variable-in-Plesk-
Please sign in to leave a comment.