How to increase Maximum upload file size in WordPress
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.
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' );