admin管理员组文章数量:1406060
I have a Wordpress website running on AWS (micro instance). I've downloaded All-in-One WP Migration and made a backup of this site.
First I tried to upload the .wpress file again to my website. But my file size (545 mb) exceeds the maximum allowed 2 MB.
Then I downloadeded the
Increase Maximum Upload File Size plugin
because I was too lazy to edit.htaccess
orwp-config.php
and I increase it to 1 GB.Although a warning is given that the hosting provider has set the maximum upload limit (in the Increase Maximum Upload File Size plugin), I can now upload my file, and before I couldn't. But the process hangs at 28.78% as seen in the image:
When I do the same on my localhost using MAMP I get the same hosting provider warning but here it does work fine.
The site is run on AWS and I tried to manually modify .htaccess but this file is missing. I manually add it with this content:
` RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
php_value upload_max_filesize 1000M
php_value post_max_size 1000M
php_value memory_limit 800M
php_value max_execution_time 900
php_value max_input_time 800`
Then I type in:
sudo service nginx restart
This doesn't work either.
So I add below code to my wp-config.php:
@ini_set('upload_max_size', '1000M'); @ini_set('post_max_size', '1000M'); @ini_set('memory_limit', '800M'); @ini_set('max_execution_time', '900'); @ini_set('max_input_time', '800');
Then again:
sudo service nginx restart
This also doesn't work.
本文标签: pluginsCannot upload AllinOne WP Migration file to Wordpress hangs at 28
版权声明:本文标题:plugins - Cannot upload All-in-One WP Migration file to Wordpress hangs at 28% 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744962135a2634720.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论