How to increase the upload file size?

If you get an error about exceeding the allowed file size when uploading to your site, you need to increase the upload_max_filesize parameter. This can be done directly in cPanel via the MultiPHP INI Editor, without contacting support.

  1. Log in to cPanel.
  2. Under "Software," find MultiPHP INI Editor.
  3. Select your domain from the dropdown list.
  4. Go to the "Editor Mode" tab.
  5. Find the upload_max_filesize parameter and set the desired value, e.g. 10M.
  6. Click "Apply."

 

⚠️ Also check the post_max_size parameter — it must be equal to or greater than upload_max_filesize, otherwise the upload still won't work.

  • 0 Käyttäjät pitävät tätä hyödyllisenä
Oliko tämä vastaus hyödyllinen?

Aiheeseen liittyvät artikkelit

How to increase the allocated memory limit for a PHP script?

If your site shows the error "Allowed memory size exhausted," it means your script doesn't have...

What to do if a 500 Internal Server Error occurs?

If your site shows a 500 Internal Server Error, this is most likely caused by an incorrect entry...

Powered by WHMCompleteSolution