How to Increase Upload Max Filesize / PHP Values on cPanel?

Changing PHP Values and upload_max_filesize through cPanel


When running an application, script, plugins, or even uploading a file via PHP, sometimes you may face an error when one of them exceeds the limitations set by your webserver. In this article, you’ll learn how to fix the error by increasing the default limit of upload_max_filesize through your cPanel.

To do that, access your cPanelSoftware section → Select PHP Version:




Then, you’ll choose Options, where you’ll locate the upload_max_filesize and set the maximum value available in your plan.

 




That’s it! Increasing the upload_max_filesize value should automatically fix the error

If the errors persist, you’ll increase additional PHP limits by adding a couple of lines of code to your .htaccess file following this amazing article.


NOTES:

  •  Adjust the PHP limits to any desired values as long as your plan supports it.
  •  You can also locate the maximum limits available by checking the PHP info of your website.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a database password on cPanel?

Changing MySQL database password via cPanel You can change your database’s password by...

How can I change my PHP version on cPanel?

Changing PHP version via cPanel Your Hosting Account's PHP version can be changed at any time,...

How can I create a new MySQL database in cPanel?

Creating a new MySQL database at Servers GATE using cPanel   You can easily create a new MySQL...

How can I locate my MySQL database details on cPanel?

Locating your MySQL database details via cPanel You can easily locate your MySQL databases...

How can I set up a redirect on cPanel?

Creating a redirect on cPanel Your hosting redirects can be easily managed with the assistance...