How to Increase the Maximum File Upload Size in WordPress

Spread The Love

Do you want to increase the maximum file upload size in WordPress? In this article, we'll be discussing how to increase the maximum file upload size in WordPress. WordPress will automatically show the maximum file upload size limit when you are uploading images or media. Click on Media » Add New page and you will see the maximum file uplaod size limit for your WordPress site. Plugins Reviews Max File Size

 Increase the maximum file upload size

Method1 : Create or Edit an existing PHP.INI file

The maximum Upload file size is 2 MB. So if you want to upload files more than this, you can open the php.ini file on the Xampp control panel. Click on the Config button next to Apache. Increase upload_max_filesize from 800M to more. lugins Reviews Max File Size php ini file Method 2: htaccess Method You can increase the maximum upload size in WordPress. Just Edit the .htaccess file in your WordPress site’s root folder and add the following code:

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

If you are using Shared Hosting, you would have to contact your web hosting provider to increase the limit for you. Method 3: Theme Functions File Add this code in functions.php file under Apperance -> Editor

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

If You liked my Article, Then Please Like my Facebook Page for latest WordPress Tutorials and Latest Updates. 🙂

  • 2
    Shares

Himani Bhardwaj

I Himani Bhardwaj founder of Plugins Reviews and also a Professional Developer. I'm a Passionate self-made Girl and plays an active role in the activities of WordPress Plugin Reviews I have also attended Chandigarh WordPress Meetup Sessions. I run an online website geared to help those who wants to Know about WordPress Topmost Plugins, Themes and also who wants to learn about PHP Concepts

Leave a Reply

Close Menu