在配置文件末尾加上三行。
#vim wp-config.php
define("FS_METHOD", "direct");
define("FS_CHMOD_DIR",0777);
define("FS_CHMOD_FILE",0777);
为 wp-content , wp-blog 添加权限
chmod 777 wp-content -R ( 包括了插件 /plugins ,和主题 /themes)
chmod 777 wp-blog -R ( 发布页面也文章)
在配置文件末尾加上三行。
#vim wp-config.php
define("FS_METHOD", "direct");
define("FS_CHMOD_DIR",0777);
define("FS_CHMOD_FILE",0777);
为 wp-content , wp-blog 添加权限
chmod 777 wp-content -R ( 包括了插件 /plugins ,和主题 /themes)
chmod 777 wp-blog -R ( 发布页面也文章)