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

The 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.

3a9318dbca4ab9a1defeec03c3dfe6560af01c5b94a7a42d71a229ba2a749275d495d388927542e1?t=82b36fd9f001430369bbf3c5c81aef60

Step 3 - Click on the Options link located at the top left.

e9ffeabeed266fc4fca060449961fc226dca2c821d91b6077b9d85385a42b436ab2fc49ac34a2b4d?t=d41bddf66a15c9e8aed91a9ff4f1bdb2


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

0fbd43ff0da07eed1218457f6db3b8af869b02750d0c78272dce4b843d9aeec291840052d58bf172?t=5ed37b71541d460c511cdebff930412e


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.


f88586ab63c79840e91aaa95f3bcf46979e7259d5c9bf5f848d407520d7d3afb0b06684b2a7d5dc2?t=08b89940625e9fc63e7223dc98aa0068


Please note that once you have selected your required upload size, it will then save the changes for you automatically.





Share via
Did you find this article useful?  

Related Articles

© HOST100