php – 打开更新包…无法创建目录. WordPress的
发布时间:2020-12-13 14:07:23 所属栏目:PHP教程 来源:网络整理
导读:当我安装nextgen-gallery插件.出现此错误消息 Downloading update from https://downloads.wordpress.org/plugin/nextgen-gallery.zip…Unpacking the update…Could not create directory. 如何解决这个问题? 这是一个权限问题.确保目录是可写的apache.插
当我安装nextgen-gallery插件.出现此错误消息
Downloading update from https://downloads.wordpress.org/plugin/nextgen-gallery.zip… Unpacking the update… Could not create directory. 如何解决这个问题?
这是一个权限问题.确保目录是可写的apache.插件插入到wp-content / plugins目录中,所以我首先尝试以apache的形式写入目录:
sudo -u apache touch /path/to/wp-content/plugins/test.txt 相应地设置权限以更正问题.您可以在这里阅读有关权限:http://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions 您可以在这里阅读关于Wordpress正确的文件权限方案:http://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |