• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
MinutesGuide.com

MinutesGuide.com

It is Not Just About WordPress

  • Home
  • About
  • Blog
    • Blogger Talk
    • Email Marketing
    • Hosting Talk
    • Plugins
    • Themes
      • Extra & Divi
    • WPbeginner
      • Guide
      • Life Hacks
      • WP Fix
    • WP Security
    • WP SEO
    • WooCommerce
  • Services
  • Reference
  • Contact
  • Start Here
Home » Blog » WPbeginner » Life Hacks » How to Increase Maximum Upload…

How to Increase Maximum Upload File Size in WordPress

Post on February 12, 2018 | Updated on November 29, 2020 by FaizAlias Leave a Comment

Increase Maximum Upload File Size in WordPress | When you are shared hosting user, maybe you have a problem with a maximum upload file size in WordPress. Some hosting provider just set a default to a very low limit. However, you can change it per your requirements.

If you notice, the number of file size here is varied for each hosting provider. That is why this problem does not come from WordPress but it is about default setting in your hosting provider.

Actually, this limit setting is very good for security and efficiency of your hosting, mainly if you are shared hosting user. It can protect your hosting from flooding your site from huge file upload on the server where it can harm your server limits.

Increase Maximum Upload File Size in WordPress

Ready to follow? Let’s started.

Method #1: In WordPress Multisite (multisite user only).

If you are using WordPress multisite, follow this.

Step 1: Navigate to Network Admin >>> Settings

Step 2: Then, scroll down until you see like as the screenshot below. Increase your size in field “Max upload file size”

blank

Method #2: Change PHP Options in cPanel

Step 1: Log into your cPanel.

Step 2: Navigate to Software section and click Select PHP version.

blank

Step 3: Then, click on “Switch to PHP options”

blank

Step 4: Scroll down and change the value in field “upload_max_filesize”

blank

Method #3: Modify .htaccess File

Step 1: Log into your cPanel.

Step 2: Navigate to your WordPress file installation and find the .htaccess file.

Step 3: Copy below and paste into your .htaccess file.

php_value upload_max_filesize 12M
php_value post_max_size 13M
php_value memory_limit 15M

Step 4: Increase or decrease your value than save it.

Method #4: Modify wp-config.php File

Step 1: Log into your cPanel.

Step 2: Navigate to your WordPress file installation and find the wp-config.php file.

Step 3: Copy below and paste into your wp-config.php file.

@ini_set( ‘upload_max_size’ , ’12M’ );
@ini_set( ‘post_max_size’, ’13M’);
@ini_set( ‘memory_limit’, ’15M’ );

Step 4: Increase or decrease your value than save it.

Method #5: Ask Hosting Support

If all method above not working for you (rare case), simply contact your hosting support. Usually, they will help you about your hosting problem.

Please beware because some hosting provider takes time 2-5 days or waits business day to ask your question. You must decide to choose the best hosting provider to make sure your business runs smoothly.

Conclusion

In this tutorial, you have learned how to increase maximum upload file size in WordPress. Sometimes you very need it when to upload your backup XML file or anything huge file in your WordPress.

If you like this article, then please FOLLOW our Linkedin, Twitter, YouTube, Pinterest, and Facebook. Do not forget to check our services page to upgrade your WordPress. If you find this post has an issue with copyright, outdated, or in error, please contact us to fix it.

Related Article..

  • How to Add Google Analytics to WordPress (Two Easy Method)
  • How to Remove Underline On Text Link in Genesis Theme
  • This Block Has Encountered An Error And Cannot Be Previewed (Fixed!)
  • How to Add Google Search in a WordPress
  • WordPress Needs to Access Your Web Server

Filed Under: Life Hacks, WPbeginner

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow Me

  • Facebook
  • GitHub
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube

Start With…

blank
Start Blogging
blank
eShop Guide
blank
WP Guide
blank
WP Security

Categories

blank

Footer

About MinutesGuide

Was founded in October 2017 by FaizAlias. The main goal of this site is to provide quality tips, tricks, hacks in easy way that you can learn it just in minutes.

Highlight Service

Ninja Tables Pro Installation And Setting
CSS Hero Plugin Installation And Setting
Divi Theme Installation & Settings
Build Complete eCommerce Site

Quicklink

Home
Services
Contact
Blog

Copyright © 2021 · Designed by SM Creative Studio | Hosted by Cloudways DMCA.com Protection Status

  • Privacy Policy
  • Terms of Use