How to Increase Maximum Upload File Size in WordPress

There are 4 ways that you can choose to increase the maximum upload file size in WordPress.

1. Use our plugin (easy)

https://import.wp-migration.com

2. Contact hosting provider (medium)

Reach over to the customer support of your hosting provider and ask them to increase these limits for you
If you are still unable to import your file, the easiest way to figure out the problem is to request error logs from your hosting provider for your website. Examine the logs around the time when you tried to import the backup.
You will see what limit you have encountered and increasing it will solve the issue.

3. Do it yourself (hard)

Edit .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
or

Edit 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' );

upload_max_filesize – set this to a value > than your backup
post_max_size – set this to a value > than your backup
memory_limit – set this to a value > than your backup
max_execution_time – set this to 0 (infinite)

How to set upload_max_filesize in .htaccess?
How to set the PHP maximum upload file size in an .htaccess file
How to increase Upload Max Filesize / PHP Values via .htaccess file
How to Fix the upload_max_filesize Error in WordPress
How to fix maximum upload and php memory limit issues in WordPress
How to Fix the uploaded file exceeds the upload_max_filesize

2 thoughts on “How to Increase Maximum Upload File Size in WordPress

  1. Good web site yоu have got heгe.. It’s hard to find higһ-quality writing ⅼike
    yours nowadays. I ѕeriously appreciate individuals
    ⅼike you! Take care!!

Leave a Reply

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