Skip to main content

How to Change PHP upload_max_filesize for a Domain in cPanel

You can increase the upload_max_filesize setting to allow for larger file uploads on your website. This process is performed within the cPanel interface and applies specifically to the domain or account you select.

Before you begin

You will need:

  • A cPanel account with permissions to modify PHP settings.

  • The specific domain or account you wish to update.

Adjusting the PHP upload limit

  1. Log in to your cPanel account.

  2. Locate the Software section and select MultiPHP INI Editor.

  3. Find the domain you wish to modify in the list .

  4. Scroll down to find the upload_max_filesize setting.

  5. Click the value next to upload_max_filesize and select your desired limit from the dropdown menu.

  6. Click Apply or Save to apply the changes.

Confirm the result

  • A confirmation message of the changes made should appear at top right of page.

  • You can verify the change by attempting to upload a file larger than the previous limit but smaller than the new limit.

Limitations

This change only affects the PHP environment for the specific account or domain selected. If you have multiple domains on a single account, ensure you are performing the action within the correct environment. This setting does not override server-level limits; if the file is still rejected, the server's global configuration may be capping the upload.

Did this answer your question?