wordpress 升级插件失败

错误提示:
在更新Encyclopedia Lite时发生了错误:未能找到WordPress内容目录(wp-content)。

参考文章:
http://blog.csdn.net/example440982/article/details/51456554

1. 编辑wp-config.php

2. 在文件末尾插入下面代码

define("FS_METHOD", "direct");
define("FS_CHMOD_DIR", 0777);
define("FS_CHMOD_FILE", 0777);