PHP Max Upload Limit Print

  • 0

Facing problems while uploading files on cPanel server? Learn how to adjust the PHP settings to allow larger uploads.

If you are running into problems uploading files on your cPanel server, you can easily adjust the PHP settings to allow larger uploads.

To do that go to WHM -> Service Configuration -> PHP Configuration Editor

Click on the 'Advanced Mode' button

Scroll down until you find the options

post_max_size

upload_max_filesize

Set both of those values to the largest file size you want someone to be able to upload. So for example to make it 20 Mb you would write: 20M

Click 'Save' at the bottom

You will also need to restart Apache after changing the configuration.

Go to WHM -> Restart Services -> HTTP Server (Apache)

Click 'Yes' to restart.


Was this answer helpful?

« Back