打开更新的包...无法创建目录。 WordPress的 [英] Unpacking the update... Could not create directory. Wordpress
问题描述
当我安装 nextgen-gallery
插件。此错误消息出现
When I instal nextgen-gallery
plugins. This error message appears
Downloading update from https://downloads.wordpress.org/plugin/nextgen-gallery.zip…
Unpacking the update…
Could not create directory.
如何解决这个问题?
推荐答案
这是一个权限问题。确保目录是可写的apache。插件插入到wp-content / plugins目录中,所以我首先尝试以apache的形式写入目录:
This is a permissions issue. Ensure the directory is writable by apache. Plugins are unpacked into the wp-content/plugins directory, so I would first attempt writing to the directory as apache:
sudo -u apache touch /path/to/wp-content/plugins/test.txt
相应地设置权限纠正这个问题。您可以在这里阅读有关权限: http://www.linux.com/learn/tutorials / 309527-understanding-linux-file-permissions
Set permissions accordingly to correct the issue. You can read about permissions here: http://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions
您可以在这里阅读有关Wordpress的正确文件权限方案: http://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress
You can read about the correct file permission scheme for Wordpress here: http://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress
这篇关于打开更新的包...无法创建目录。 WordPress的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!