Increase Upload Size Limit for WordPress

How To Increase Upload Limit Size (WordPress)? – cPanel

You can upload any type of files in your site such as images, video, themes, gifs, etc., These files can be uploaded only when you have enough file upload size limit. If you have less size limit, then you are not able to upload the files in the site. This is a major issue faced by most of the WordPress and other CMS users. This can be easily solved through cPanel of your domain. In this article, you will know how to increase file upload size limit through cPanel MultiPHP Ini Editor.

Errors You Might Face When Because of File Upload Size Limit:

  • The uploaded file exceeds the upload_max_filesize directive in php.ini
  • 413 Error: Request Entity Too Large, Link you followed has expired
  • Fatal error: Allowed memory size of 12345 bytes exhausted (tried to allocate 2345 bytes) in /home/your-username/public_html/wp-includes/plugin.php on line 1000
  • Exceeds the maximum upload size for this site
  • Unable to create a directory and broken images in the Media Library

Steps in increasing the file upload size limit through cPanel.

STEP 1: Login

Log In to cPanel

STEP 2: MultiPHP INI Editor

Search ‘MultiPHP INI Editor’ and click on it.

MultiPHP INI Editor in cPanel

STEP 3: Basic Mode

There you can see two types of mode available. Click on ‘Basic Mode’

STEP 4: PHP INI basic settings

In the ‘Configure PHP INI basic settings’ select the location which is domain’s root document  to open the corresponding PHP configuration.

PHP INI basic settings

STEP 5: PHP Directives

You can see the list of PHP Directives. In the ‘upload_max_filesize’ directive, enter the maximum size of an uploaded file.

STEP 6: post_max_size and upload_max_filesize

In the “post_max_size directive”, enter the value which must be larger than the ‘upload_max_filesize’.

For example, if your upload file size is 100M, then “upload_max_filesize” should be 100M and “post_max_size” directive has to be “101M”

PHP Directives

STEP 7: Save Changes

Click on ‘Apply’. The settings will be saved.

Thus, these are the steps involved in increasing file upload size limit through cPanel.

[Tweet “How To Increase Upload Limit Size (WordPress)? – cPanel”]