• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar

JustBrightMe

Be Smart and Don’t Stop Learning

  • Best Apps
  • How To
  • Banking
  • Make Money
  • Story
Home » WordPress Guide » How to Increase Maximum Upload File Size in WordPress

How to Increase Maximum Upload File Size in WordPress

December 24, 2020 by AMAN SINGH Leave a Comment

Do you want to increase maximum upload file size in WordPress?

When you upload a big file size via media uploader, then this problem is often encountered, and the file is not uploaded. In this article, I’ll tell youhow to increase the maximum file upload size in your WordPress site.

Brief Descriptions of The Content

  • How to Check Maximum Upload File Size in WordPress
  • How to Increase Maximum Upload File Size in WordPress
    • 1. Theme Functions File
    • 2. Create or edit existing php.ini file
    • 3. htaccess Method

How to Check Maximum Upload File Size in WordPress

When we upload a file via default media uploader, WordPress automatically displays the Maximum Upload File Size Limit. To check Maximum Upload File Size Limit, click on Media >> Add New. Here you can see Maximum Upload File Size Limit

Maximum upload file size

How to Increase Maximum Upload File Size in WordPress

To increase the maximum upload file size is not a hard task. You can easily increase it. Just you need to add some code to your WordPress site. Here, we are going to show you 3 methods to increase upload size limit.

So, let’s get started…

1. Theme Functions File

To Increase the Maximum File Upload Size in WordPress, add the below code to the theme function file. This will increase your upload size.

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

2. Create or edit existing php.ini file

To edit php.ini file, search it in your website root folder. If this is not in your root folder, then create a new php.ini file and upload it to the root folder. After this add the code to your php.ini.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

If 64mb does not work then try 10mb or other values.

3. htaccess Method

You can also use htaccess to increase Maximum Upload File Size. Find and edit the htaccess file in the root folder.

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

If these methods do not work with your hosting package, then contact with web hosting provider to increase your WordPress upload file size.

Find this article helpful? Don’t forget to share!

You may also like:

  • How to Setup Cloudflare Flexible SSL for WordPress
  • How to Change WordPress Login Page URL
  • 20 Ways How to Speed Up WordPress Site
  • 42 Most Common WordPress Mistakes to Avoid

Related Posts

Filed Under: WordPress Guide Tagged With: Beginners Guide, WordPress Guide

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Recent Published

How to Change Photo Background Online 2023

How to Change Instagram Password 2023

How to Reset Instagram Password If Forgotten 2023

How to Change Instagram Username 2023

How to Check Instagram Password 2023

How to Earn Money From Meesho App 2023

What is Dailyhunt and how to earn money from it 2023

What Is Google Task Mate and How to Earn Money From It

11 Best Scratch Earning Apps: Scratch and Earn Money 2023

23 Ways How to Earn Money in India as a Student 2023

© 2015–2023 · JustBrightMe | All Rights Reserved · About us · Privacy Policy · Sitemap