How to Increase PHP’s post_max_size Value in DirectAdmin
Increasing the post_max_size
value allows for larger file uploads in PHP. Here’s a step-by-step guide to adjust this setting in DirectAdmin.
Step 1: Log in to DirectAdmin
- Log in to your DirectAdmin account with your credentials.
Step 2: Navigate to PHP Settings
- Under Account Manager, select PHP Settings.

Step 3: Select post_max_size
Option
- On the PHP Settings page, you’ll see a list of PHP configuration options like
display_errors
,post_max_size
,error_reporting
, andfile_uploads
. - Find and select the post_max_size option from the dropdown.
Step 4: Adjust the Value
- In the value dropdown, select the desired limit for
post_max_size
, such as 32M, 64M, or 128M. - Click the Add button to apply the new setting.

Step 5: Confirmation
- A confirmation message will appear at the top of the page, indicating the change has been applied successfully.

That’s it! You’ve successfully increased the post_max_size
value in DirectAdmin. This will now allow for larger uploads as configured.
Was this article helpful?
YesNo