【发布时间】:2013-10-25 22:52:38
【问题描述】:
我决定试用 Windows Azure 来托管 Wordpress。所以我刚刚使用 Azure 中的网站选项从库中创建了一个全新的 Wordpress 安装。
这是我尝试更新到 3.7 时得到的结果
Downloading update from http://wordpress.org/wordpress-3.7-no-content.zip…
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode…
Copying the required files…
Disabling Maintenance mode…
Could not copy file.: index.php
Installation Failed
任何想法为什么会发生这种情况?
【问题讨论】:
-
我遇到了同样的问题。如果您查看 php_errors.log 文件,您可能会看到更多详细信息。我的抱怨权限。 PHP 警告:复制(C:/DWASFiles/Sites/[site]/VirtualDirectory0/site/wwwroot/index.php):无法打开流:C:\DWASFiles\Sites[site]\VirtualDirectory0\site\wwwroot 中的权限被拒绝\wp-admin\includes\class-wp-filesystem-direct.php 在第 200 行 现在只是确定它需要哪些权限而它没有。
-
一旦你弄清楚权限,听起来像是一个很好的帖子答案。但就目前而言,这更像是一个评论而不是一个答案。
-
哎呀,我应该发表评论,对不起:(
-
奇怪的是,我今天又去更新了我的网站,它更新成功了,我这边没有任何变化。我现在在 3.7 中运行没有问题。