Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

How to edit PHP upload_max_filesize – Enhance Hosting

You may receive a message in WordPress like:

"trace.zip exceeds the maximum upload size for this site" or "the uploaded file exceeds your upload_max_filesize directive".

If so, you may want to increase this setting. This setting can be applied on a per website basis, on a server level (this will apply to only websites assigned to that specific application role) or globally (this will be the default setting for all Application roles and websites added).

To increase the PHP Upload Max Size on a single website:

  • On the website dashboard select the advanced drop-down menu
  • Click Developer Tools and scroll to php.ini editor
  • In the directive box put upload_max_filesize, select text and input your desired maximum value in the Text field
  • Click Create to finish

You should set upload_max_filesize and post_max_size to the desired maximum value. This should be specified in megabytes and suffixed with an M, for example, 200 megabytes would be written as 200M.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable PHP error reporting – Enhance Hosting

In this guide, we will learn how to hide or suppress PHP errors and notices such as the common...

How to manage DNS – Enhance Hosting

How to add or edit DNS To add or edit DNS entries: Open Websites in the left sidebar Select...

Add a Staging Site & Push Live – Enhance Hosting

To add a staging website Open Websites in the left sidebar Click Add new Select either Start...

Importing a cPanel backup – Enhance Hosting

The cPanel importer allows you to migrate a cPanel account into your website. To import a...

How to manage FTP accounts – Enhance Hosting

To add an FTP accounts on a single website: On the website dashboard select the advanced...