Skip to main content

How to Change PHP post_max_size for a Domain in cPanel

You can increase the post_max_size setting to allow for larger file uploads or data submissions on a specific domain. This task is performed by a cPanel Account User and is managed through the MultiPHP INI Editor.

Before you begin

You will need:

  • A cPanel account with permissions to manage the specific domain.

  • Access to the MultiPHP INI Editor tool within cPanel.

Adjusting the post_max_size setting

  1. Log in to your cPanel account.

  2. Under the Software section, select MultiPHP INI Editor.

  3. Select the domain from the Select a domain dropdown menu.

  4. Locate the post_max_size directive in the list of PHP settings.

  5. Enter the desired limit in the text field (e.g., 128M or 256M).

  6. Scroll to the bottom of the page and click Apply.

Confirm the result

  • The page will refresh or display a success message confirming the changes were saved.

  • The post_max_size value will now reflect the updated limit for that specific domain.

Troubleshooting

If the change does not appear to take effect, ensure that the value you entered includes the correct unit (such as M for Megabytes or K for Kilobytes). If you are still unable to upload large files, verify that the upload_max_filesize setting is equal to or greater than your new post_max_size value.

Limitations

This procedure only updates the setting for the specific domain selected in the MultiPHP INI Editor. Changes made here do not affect other domains on the same account unless they are specifically selected and updated.

Did this answer your question?