向wordpress目录的wordpress-config.php中添加
wordpress
wordpress-config.php
define("FS_METHOD", "direct"); define("FS_CHMOD_DIR", 0777); define("FS_CHMOD_FILE", 0777);
即可。 另外注意linux权限问题,命令:chmod
chmod
感谢大佬:https://jingyan.baidu.com/article/3c48dd34a802d8e10be358a9.html 感谢大佬:https://www.runoob.com/linux/linux-comm-chmod.html
感谢大佬:https://jingyan.baidu.com/article/3c48dd34a802d8e10be358a9.html
感谢大佬:https://www.runoob.com/linux/linux-comm-chmod.html