How to increase WordPress maximum upload file

WordPress is the most popular CMS worldwide. Sometimes we have problems to upload a big size file to the website directory. If you have simple expertise on the WordPress than it will save time to solve the problem easily. Just follow this different tips and solve the problem the easiest way. In this article I have cover to solve how to increase WordPress maximum upload file size issue.

maximum upload file size

Maximum upload file size

There has a different way you can increase the WordPress maximum upload file size. If you are unable to upload file in your WordPress post, media or content and having problem that this article is your problem-solving WordPress tutorial post.

When you want to download any WordPress files, there has some maximums upload file size set up in 8 to 10 MB. Also, some MP4 files have more than 13 MB.

At this point you want to solve this problem and want to increase WordPress maximum upload file size. Watch the video where you can get a clear idea how to increase the file upload limits.

1. Increase WordPress upload limit with Modify PHP.ini file

Simply to fix it, you just need to create a php.ini file in your WP-admin directory, and you need to add value as per fellow codes or script.

Upload_max_filesize = 64M
post_max_size = 64M

I think you should change at least 64 MB to the value and that is large enough to accommodate all of your uploads files. It is noted that, some web hosting server caches these files and some servers only recognizes php5.ini file. So, it should be an idea to wait at least 16 to 18 minutes for changing proper effect after creating php.ini file. At this point if you see there have nothing happening than just renaming the file to php5.ini. You can check it, whether it’s working or not. At first go to your WordPress dashboard Admin PanelMediaAdd New and notice on the value that is displayed “Maximum upload file size” You can see here change the value increase to 64 MB.

2. Maximum upload size htaccess Method

.Htacceses is one of the most important file on the web server. You can change, modify various configurations for the server. Generally, most of the web hosting server hides it. Before starting to modify or change it, go to your server and check “Show Hidden Files” once again and go to locate .htaccess file within the root directory of your server. If you don’t know how to visible c panel hidden files then please watch short videos. This video will help you about how to show cPanel hidden files (.htaccess). Now open this fill through your notepad++ or dream-waver or any editor and just past the codes below at the end of the fills where it says #END WordPress.

php_value upload_max_filesize 64MB 
php_value post_max_size 64MB 
php_value memory_limit 64MB

If you do not find the .htaccese file than you can create a new file and past the WordPress .htaccess default codes. Now just past the above mention codes at the end of the file.

3. Upload WordPress file size Modifying

If mention two-way did not work properly than go through this step because there is always an alternative way to solve problems. In the mention below cods just paste in the WordPress file. This codes will be written through wp-config.php, themes functions.php file etc

@ini_set( ‘upload_max_size’ , ’64MB’ ); 
@ini_set( ‘post_max_size’, ’64MB’); 
@ini_set( ‘memory_limit’, ’64MB’ );

This is not the appropriate way to increase the WordPress file size limit. The first option and the second option is a battered and easy way to increase files size. If you fail to update files through above 2 mention way than try with this option.

4. Increase maximum file size by Plugin

If you think you are not able to do this task manually that then there is an option with plugins. To work with WordPress there has an easy option to do many works with plugins. Plugins make an easy way to do different WordPress work. You will need to find appropriate plugins with compatible with your WordPress version. So, now try using Increase Upload Max Filesize that is updated to the current version of WordPress. Go to your WordPress dashboard and navigate to Plugins. Now just click on the → Add new and search with this word “Increase Upload Max File size”. Once the plugins are installed and activate go to setting and put the value whatever you want. In this way you can increase the file upload size easily as you want.

5. Maximum file size hosting provider

At this step I suggest you to ask your web hosting provider company to increase the upload file size on your WP application. Most of the case web hosting company help you. The WpHostsell support team will help you at any stage as per your requirements. The team is very active and provide service 7/24 hours. They will increase files upload limit as soon as possible.

How to Check File Upload Size Limit on WordPress?

You can easily check the availability upload file size. Generally, WordPress shows the limits when you are attempted to upload a media or images files. So, to check it go to Media → Add New page or any post page, and you will see the maximum upload files size in your WordPress website.

Get an error Issues with Max upload size

Some time you can get this type of error when you are trying to upload files on your WP sites. Also, if you set up a plugin to increase upload filed limits. In spite of plugin there display error like this error: The uploaded file exceeds the upload_max_filesize directive in php.ini.

At this point, just open the php.ini file on your hosting server (Typically located somewhere like: /usr/bin/php5/bin/php.ini in Linux) now just rewrite or adjust that codes:

upload_max_filesize = 536M

Must be greater than or equal to upload_max_filesize

post_max_size = 536M

Finally, want to say there have a different alternative way to solve the problems. If you still have problems with regard the title just comment to ask help. We will try our best to get out of problems. If you know any alternative solution to increase maximum file upload size than a mention on the comment options. Stay with us to get WordPress tutorials.

Post Your Comment

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

Site Archives
Post Calendar
September 2023
Copyright © 2014 - 2023 WpHostsell. All rights reserved.