How to Increase Maximum Upload File Size in WordPress

WordPress Max upload file size increase 4 way you can solve this problem let’s start.

1) Update .htaccess file

php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300

First check .htaccess file exists or not otherwise create .htacces file home in directory after copy above code and paste in .htaccess file. Change the numbers to the values that you want.

2) Update wp-config.php file

@ini_set( 'upload_max_filesize' , '128M' );
@ini_set( 'post_max_size', '128M');
@ini_set( 'memory_limit', '256M' );
@ini_set( 'max_execution_time', '300' );
@ini_set( 'max_input_time', '300' );

in wordpress already created file wp-confing.php in home directory just copy above code and paste in this file and change the numbers of value you need.

3) Create php.ini file

go to in wp-admin folder and create one file php.ini and edit this php.ini file copy below code and paste on it and after save this file and go to site and refresh.

upload_max_filesize = 500M
post_max_size = 500M

please check this video and I hope you understand

4) Contact Your hosting provider

Direct contact or Reach over to the customer support of your hosting provider and ask them any query and ask to increase these limits for you.

Thank you for read this articles Fact Articles

Leave a Reply

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