在Word Press单击后找到wp-config.php文件以在Google Compute Engine上进行部署以进行迁移 [英] Locate wp-config.php file after Word Press Click To Deploy on Google Compute Engine For Migration

查看:74
本文介绍了在Word Press单击后找到wp-config.php文件以在Google Compute Engine上进行部署以进行迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在运行Wordpress的Google Cloud Platform上创建了一个虚拟机,该虚拟机是使用Wordpress点击部署的: https://console.cloud.google.com/marketplace /details/click-to-deploy-images/wordpress?pli=1&_ga=2.72191571.-1784804083.1544815132&_gac=1.153409866.1545571350.Cj0KCQiAgf3gBRDtARIsABgdL3mwngvHYtz5GvkiA6vsknZDGdM我试图将我的网站迁移到GCP,并导出所有内容,所以我使用了多合一WP迁移.我用它来导出网站数据,但是当我转到新主机并尝试导入数据时,它说导入的文件大小限制为100 mb.我发现我需要增加wp-config.php文件中的限制(选项2):解决方案

我通过使用适用于wordpress的Duplicator插件而不是多合一WP迁移来解决了这个问题.

Duplicator插件将产生两个文件.存档文件和安装程序文件.这里的链接将告诉您如何上传这些内容:

https://console.cloud.google.com/marketplace/details/click-to-deploy-images/wordpress?pli=1&_ga=2.72191571.-1784804083.1544815132&_gac=1.153409866.1545571350.Cj0KCQiAgf3gBRDtARIsABgdL3mwngvHYtz5GvkiA6vsknZDGdM8JIDPByT7v2O4m0tkvXXibVI0trAaAi37EALw_wcB

I am trying to migrate a my website over to GCP, and to export everything, I used All-in-One WP Migration. I have used this to export the website data, but when I go over to my new host and try to import the data, there it says that there is an file size limit for imports of 100 mb. I found that i need to increase the limit in my wp-config.php file (option 2): https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/

However, I cannot find my wp-config.php anywhere on GCP or in the wordpress dashboard platform. How do I access this in order to increase my limit so that i can import the new file?

解决方案

I solved this by using the Duplicator plugin for wordpress, instead of the All-in-One WP migration.

The Duplicator plugin will produce two files; an archive file and an installer file. This link here will tell you how to upload these:

https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=package_built_install_help&utm_campaign=duplicator_free#quick-040-q

这篇关于在Word Press单击后找到wp-config.php文件以在Google Compute Engine上进行部署以进行迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆