rabbit
rabbit

Reputation: 113

Using All-inOne WP Migration I cannot import the file, is too big (137 MB) I can't increase the acceptable filesize

In deployed WordPress Certified by Bitnami and Automattic, which works for my other site. this site I exported and have a 137 MB file to import. It complains the file is too big.

Alright, I follow these instructions [1] trying #1 the .htaccess file and #2 the wp-config.php file. I even just put in the upload-max-filesize 256M, and not the others, into each of these two files and it still does not work. In fact my website no longer is reachable. I back off the changes and restart the instance...luckily, my website is recovered.

How can I import a WP Migration export file into my site? How can I allow it to accept such large files? And not crash my site again.

[1] https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/

Upvotes: 0

Views: 3686

Answers (2)

kristijanlazarev
kristijanlazarev

Reputation: 181

You can just do:

  • Search up "Upload size" in plugins
  • Install the first one
  • You get a very easy no code way to solve that problem

Upvotes: 0

Jota Martos
Jota Martos

Reputation: 4714

Bitnami Engineer here,

I just launched a fresh Bitnami WordPress instance and modified the following parameters in the /opt/bitnami/php/etc/php.ini file to be able to upload a bigger file to the WordPress plugin.

post_max_size = 200M
upload_max_filesize = 200M

Then I restarted all the services

sudo /opt/bitnami/ctlscript.sh restart

Upvotes: 4

Related Questions