错误:文件wp-config.php已经存在。如果您希望重置该文件中的任何配置项目,请先删除该文件

我在我的 WordPress 网站的管理仪表板中单击了“更新 WordPress”链接,我收到了这个错误:

文件wp-config.php已经存在。如果您希望重置该文件中的任何配置项目,请先删除该文件

"The file 'wp-config.php' already exists. If you need to reset any of the 
configuration items in this file, please delete it first. You may try installing now."

当我尝试单击“立即安装”链接时,WordPress 似乎正在重新安装。我想保留 WordPress 安装的所有内容。

我试图更改 wp-config.php 文件的名称,但没有做任何事情。

【问题讨论】:

  • 如果你使用linux或者mac,需要给权限,命令是:sudo chmod 777 path/wp-config.php
© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享