PHP Max Upload Limit


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?

Still need help?

Our friendly support team are ready to offer assistance with any issues you may be encountering.
Click the button below to open a ticket:
Open Ticket

 WordPress Hosting

Fast hosting for WordPress
Experience the best in Australian WordPress hosting with lightning fast servers, built-in caching, and performance tools.

 Build Your Website

Sitejet Hosting
Build your site fast with a drag and drop editor with no coding required. 140+ quality, templates to get you started.

 Register Domains

It all starts with your domain name
Find the perfect domain and register now with our competitive pricing on all extensions.

 Web Hosting

Fast, local, secure hosting
Full featured hosting on cPanel with multiple server locations around the country.
« Back