File Size Error Importing All In One WP Migration Backup File in WordPress


aadfsad

ERROR: Maximum Upload File Size Increase In WordPress

If you receive file size error while importing backed up WordPress installation via ALL-IN-ONE WP MIGRATION tool, here’s how you fix it;

Both files that need to be updated are found at the root (htdocs) of your localhost or website i.e.

locations

UPDATE .htaccess FILE

Enter these lines at the end of the .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

htaccess

UPDATE wp-config.php FILE

In the wp-config.php file, enter these lines at the end of the 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’ );

wp-config

You may change values for maximum execution time and maximum input time values in seconds if your internet connection is slow.

Once done updating files, stop and re-start Apache and MySQL services via XAMPP control panel and then open your website’s dashboard to start importing the ALL-IN-ONE-WP-MIGRATION backed up file.

1

 


Courtesy:

How to Increase Maximum Upload File Size in WordPress

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s