Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

PHP Max Upload Limit

Written by: on 27 May 2016 07:53 PM 27 May 2016 07:53 PM

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.

(0 vote(s))
Helpful
Not helpful