How to Increase Maximum Upload File Size in WordPress using .htaccess file

Add following line of code at the end of .htaccess file present in the parent directory of the website you want to increase upload size, in the root location of where the wordpress is installed.

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

Leave a Comment

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