Skip to content
Launch offer: Free installation on every Extended license this month! Shop now
  1. Home
  2. Blog
  3. How to Increase Upload Size in cPanel for Large File Sites

How to Increase Upload Size in cPanel for Large File Sites

Seeing upload errors when adding big files to your site? Learn simple, beginner-friendly ways to raise PHP upload limits in cPanel and keep large file uploads working smoothly.

November 01, 2026 8 min read Tutorials
How to Increase Upload Size in cPanel for Large File Sites

If you need to increase upload size cpanel settings so your website can accept bigger files, you are in the right place. Many small business owners only find out about upload limits when an error appears in the middle of adding a video, a theme or a large product image. The good news is that the fix is usually quick, and you don't need to be a developer to do it.

This guide explains what upload limits are, why they exist, and the simple ways to change them in cPanel. By the end, your site should handle large files without trouble.

Why Your Website Has an Upload Limit

Every website that runs on PHP has built-in limits. These limits control how big a file can be and how long the server will spend processing it. Hosting servers set them to protect resources and keep sites stable for everyone.

For a simple blog, the default limits are usually fine. They become a problem for sites that deal with large files, such as:

  • Video and audio sites, including streaming and radio platforms
  • Online stores with lots of high-resolution product photos
  • File sharing, cloud storage or APK download sites
  • Websites where you upload big themes, plugins or script packages
  • Clinics, coaching centres or agencies that store documents and PDFs

When a file is bigger than the limit, you may see messages like "The uploaded file exceeds the upload_max_filesize directive" or "413 Request Entity Too Large". Sometimes the upload just fails without any clear message.

The PHP Settings That Control Upload Size

Before you make changes, it helps to know which settings matter. There are a few of them, and they work together.

upload_max_filesize

This is the largest size allowed for a single uploaded file. If you want to upload a 200 MB video, this needs to be at least 200M.

post_max_size

This sets the total size of all data sent in one form submission. It should be equal to or slightly larger than upload_max_filesize. If it is smaller, your bigger upload limit will not work.

memory_limit, max_execution_time and max_input_time

Large files take more memory and more time to process. If uploads time out halfway, raising max_execution_time and max_input_time can help. A slightly higher memory_limit can also help when your site resizes images or processes files after upload.

Method 1: Use the MultiPHP INI Editor (Easiest)

For most people, the best way to increase upload size cpanel limits is through the MultiPHP INI Editor. It gives you a simple form, so you don't need to edit any code.

  1. Log in to your cPanel account.
  2. In the Software section, click MultiPHP INI Editor.
  3. Stay on the Basic Mode tab.
  4. Choose your domain from the dropdown list.
  5. Find upload_max_filesize and enter a new value, for example 256M.
  6. Set post_max_size to the same or a higher value, for example 300M.
  7. If needed, raise max_execution_time (for example 300) and memory_limit (for example 512M).
  8. Scroll down and click Apply.

That's it. Go back to your website and try the upload again. Remember to write values with "M" for megabytes, such as 128M, not "128MB".

Method 2: Edit .htaccess or php.ini Manually

If you can't find the MultiPHP INI Editor, or you prefer working with files, you can change the limits directly. Always download a backup of any file before you edit it, so you can restore it if something goes wrong.

Using a php.ini or .user.ini file

Open File Manager in cPanel and go to your site's root folder, usually public_html. Look for a file called php.ini or .user.ini. If you don't see it, turn on "Show Hidden Files" in the settings, or create a new file. Add lines like these:

  • upload_max_filesize = 256M
  • post_max_size = 300M
  • max_execution_time = 300
  • memory_limit = 512M

Save the file. Changes in .user.ini may take a few minutes to apply.

Using the .htaccess file

On some servers, you can also add settings to .htaccess using lines such as php_value upload_max_filesize 256M. Be careful here. On many modern servers that run PHP in a different mode, these lines can cause a 500 Internal Server Error. If that happens, remove the lines straight away and use the MultiPHP INI Editor instead.

How to Check That Your Changes Worked

After you increase upload size cpanel settings, confirm the new values are active. Here are a few easy ways:

  • Your website's admin panel: Many apps, including WordPress and most Laravel scripts, show the maximum upload size on their media or upload page.
  • PHP info in cPanel: Some cPanel setups let you view PHP information from the PHP selector or a similar tool.
  • A quick test upload: Try uploading a file that failed before.

If the old value still shows, clear your browser cache, log out of your site and log back in, then check again.

Common Problems and Simple Fixes

Sometimes the limit doesn't change even after you follow every step. Here are the usual causes.

Your hosting plan has a maximum cap

Hosts often set an upper limit you can't go beyond on shared hosting. If your site regularly needs very large uploads, it may be time to move to a plan with more resources. You can compare options on our web hosting plans page.

The wrong PHP version or domain was edited

If you have several domains or subdomains, make sure you changed the settings for the correct one. Also check that the domain uses the PHP version you expect.

Your app has its own limit

Some scripts and CMS tools have a separate upload limit in their own settings. Even after the server allows 256M, the app may still stop at 10 MB. Look in the app's admin settings for an upload or media size option.

Uploads time out on slow connections

Very large files can take a long time to upload. Raising max_execution_time and max_input_time helps. For huge files, consider uploading through File Manager or FTP instead of your website's form.

Tips for Running a Large File Website Safely

Once you increase upload size cpanel limits, a few good habits will keep your site fast and secure:

  • Only raise limits as much as you need. Huge limits can let a single upload use a lot of server resources.
  • Compress images and videos before uploading where you can.
  • Keep an eye on disk space in cPanel, since large files fill it up quickly.
  • Take regular backups so you never lose important files.
  • Keep your scripts updated to avoid security issues with file upload features.

If you are installing a large script, such as a streaming platform, file storage system or marketplace, our team can set everything up for you, including the right server settings. Learn more about our script installation and customization service.

Need a Hand With Your Server Settings?

Changing PHP limits is usually a five-minute job, but it can feel tricky the first time. If uploads still fail, or you want someone to look after your site's settings, updates and security every month, our maintenance and support team is happy to help.

Ready for hosting that suits sites with bigger files? Explore our cPanel hosting plans and pick the one that fits your website today.

Frequently asked questions

What is the fastest way to increase upload size in cPanel?

The easiest method is the MultiPHP INI Editor in cPanel. Select your domain, raise upload_max_filesize and post_max_size, then click Apply.

Why did my upload limit not change after I edited the settings?

Your host may set a maximum that you cannot go above, or another setting such as post_max_size may still be too low. Clear your cache, check the PHP Info page and contact your host if the value still has not changed.

Should post_max_size be bigger than upload_max_filesize?

Yes. post_max_size should be equal to or a little larger than upload_max_filesize, because the whole form request includes the file plus other data.

Can I set the upload limit as high as I want?

You should only set limits as high as your site really needs. Very high limits can use more server resources and may be capped by your hosting plan.

Do I need to restart anything after changing PHP limits?

Usually not. Changes made in the MultiPHP INI Editor apply quickly, but you may need to refresh your browser or log out and back in to your website admin panel.

#cPanel#PHP settings#file uploads#web hosting#upload_max_filesize#tutorials
Share:

More articles