When importing a big export file from another site, or when installing dummy data from your template developer, the error “the uploaded file exceeds the upload_max_filesize directive in php.ini” is likely to show. Here’s what you can do to fix it.

1. Open your .htaccess file via FTP or File manager

WordPress: fix the upload php.ini problem
WordPress: fix the upload php.ini problem WordPress: fix the upload php.ini problem

2. Add the following code at the bottom of .htaccess


# BEGIN Increase Max Upload Size
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 300
php_value max_input_time 300
# END Increase Max Upload Size

Share:

Leave a Reply