increase-maximum-uplaod-file-size

Do you want to increase the Maximum upload file size in WordPress. Some times largest file upload size limit can stop you from uploading files via media uploader, or install plugins and themes. In this article, we will try to show you how to perfectly increase the maximum file upload size in WordPress to fix those issues.

How to Check Your Maximum File Upload Size Limit in WordPress?

WordPress will by default show you the maximum file upload size limit when you are uploading images or media. To check it you can simply login your WordPress dashboard then go to Media » Add New page and you will see the maximum file upload size limit for your WordPress site.

increase file size with wordpress
4. Simple way to upload maximum file size in WordPress?
  • Theme Functions File.
  • Create or Edit an existing PHP.INI file.
  • htaccess Method.
  • Add Plugin to upload increase maximum file size.
1. Theme Functions File.

Using this method we have success to increase file size. so By adding this code in your WordPress function.php file you can increase the upload size:

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
2. Create or Edit an existing PHP.INI file.

With this method you need to login your hosting cPanel > file manager then create a php.ini file in your WordPress installation root directory.

Most of the time WordPress user face this issue for using share hosting, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
3. htaccess Method.

htaccess file edit is also good way to quick fix the problem. Some people have tried using the .htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. 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 300
php_value max_input_time 300
3. Add New Plugin to Upload increase file size.

You can also increase file size to install a simple WordPress plugin. it is much easy process to enhance your file size. it is free wordpress plugin made by codepopular. Lets download this plugin form here

Do you need any help? feel free contact with us Contact here

Leave a Reply