How to increase WordPress Upload File size limit

The easiest way is to add the following code into your theme function.php file.
add the following lines


If your hosting allow, you can edit the php.ini file
add the following lines


Or editing the .htaccess file on your hosting root directory
add the following lines

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

Or you can try this plugin – Increase Max Upload Filesize

Share on facebook
Share on twitter
Share on pinterest
Share on linkedin
Share on reddit
Share on tumblr
Share on whatsapp
Share on email
Share on print

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.