Search Our Database
How to Modify Maximum Input Variables in DirectAdmin (Enhanced Skin)
Introduction
PHP max input vars defines the maximum number of input variables accepted in a single request, and adjusting this limit is essential for applications with complex forms or extensive data submissions. Large forms with numerous fields, bulk editing interfaces, or applications with complex menu systems may exceed default input variable limits, causing data truncation or submission failures. DirectAdmin’s PHP Settings interface provides a straightforward method for configuring input variable limits through custom PHP overrides. This guide explains how to modify max input vars using the PHP Settings section in DirectAdmin, ensuring your applications can handle complex forms and extensive data submissions while maintaining protection against hash collision attacks.
Prerequisites
- Access to DirectAdmin control panel with the necessary permissions.
Step-by-step Guide
Step 1: Access DirectAdmin
Log in to your DirectAdmin control panel.
Step 2: Access PHP Settings
Go to the Your Account section and click on Domain Setup. Then, select the domain/subdomain you wish to modify PHP settings for by clicking on the domain/subdomain name.


At the PHP Access row, click Php Settings…. You should be able to see a list of your current PHP configuration.
Step 3: Modify Max Variable Input
Scroll down to the Add Override section. On the max_input_vars row, you may enter the maximum number of input variables accepted per request, preventing hash collision attacks.
Then, click Save on the right.
Tips: If your website is “cutting off” data at the end of a long form or menu list, increasing this value to 3000 or 5000 might solve the problem.
Step 4: Verify the changes
You may confirm the new override settings in the updated Domain php.ini overrides table.
Conclusion
Configuring PHP max input vars through DirectAdmin’s PHP Settings interface is a simple process that controls how many input variables can be processed per request. Adjusting this limit enables your applications to handle complex forms and extensive data submissions without truncation, ensuring all submitted information is properly received and processed by your PHP scripts.
Should you have any inquiries about the guidelines, please feel free to open a ticket through your portal account or contact us at support@ipserverone.com. We’ll be happy to assist you further.



