How To Increase WordPress Upload Limit : welcome peoples today I am gonna show to you how you can increase wordpress maximum upload limit, because wordpress have default upload limit is 2 mb ,if you are trying to upload more than 2 mb so wordpress gives error, so in this article i will share with you some best tricks to increase wordpress the default upload size.
First Way : Use htacess File
Open your .htaccess file with your any editor and paste below three lines at the end of the file where it says #END WordPress and save it.
php_value upload_max_filesize 32MB
php_value post_max_size 32MB
php_value memory_limit 32MB
Second Way : Modify Wordpress File
You can paste below the following 3 lines within your WordPress files. These lines can be written in themes functions.php file.
@ini_set( ‘upload_max_size’ , ’32MB’ );
@ini_set( ‘post_max_size’, ’32MB’);
@ini_set( ‘memory_limit’, ’32MB’ );
Third Way :
Open php.ini file with any text editor and search for the three settings to modify them like upload filesize and etc.
upload_max_filesize = 32MB
post_max_size = 32MB
memory_limit = 32MB
I hope this article helped you learn how to easily Increase WordPress Upload Limit.