There was a problem loading the comments.

How to increase the PHP file upload size limit (upload_max_filesize)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
he default upload_max_filesize for PHP is 2M but this can easily be increased by following these steps

Step 1 - Log into your cPanel.

Step 2 - Under the Software section, click Select PHP version.

a395b794154cf1f554e610409efceb683943bde4?t=7095b6754d9bcb1a1625d34f181e7bcf

Step 3 - Click on the Switch To PHP Options link located in the top right.

bfc0ea40eeecc00a587d98b815b37cfc0e8499ce?t=90e96df39d8aa784343e1a20c5d2d607


Step 4 - Find the row for upload_max_filesize and then click on the 2M wording.

7b725552867bb030e95a9d3f0a254da72e74c545?t=c529437602a51facc9d1c42204d89935


After you click on the 2M it will change to a drop down like this

8149129634d0cbf1c03b296f63dd69aa3085e7b2?t=b3e36404c858b4cced84fc541ae86a43

Step 5 - Choose your required upload size, for example 16M, from the drop down and then click Apply. If you increase the upload_max_filesize then you should also increase the post_max_size as this should be at least the same if not larger than the upload_max_filesize.

Step 6 - Finally click Save to apply the changes.

e9ba38df5e69a545dac94277a3a569f20c58a5f9?t=bda70768728832cd9fa3aef02c723f50


Share via
Did you find this article useful?  

Related Articles

© HOST100