时光沉淀

如何解决wordpress“要执行请求的操作,WordPress需要访问您网页服务器的权限。 请输入您的FTP登录凭据”

· Views · By 浪子

centos7.2使用oneinstack搭建了LAMP环境,安装了wordpress后更新插件发现提示 要执行请求的操作,WordPress需要访问您网页服务器的权限。 请输入您的FTP登录凭据 百度一下,发现这是文件夹权限问题 默认的网站权限是root 更改为 www 就可以了 ssh下执行以下命令 sudo chown -R www /data/wwwroot/www.xy07.cn sudo chmod -R 775 /data/wwwroot/www.xy07.cn 后台刷新 可以一键更新了

评论

0 条评论

暂无评论

Using $this when not in object context

Error: Using $this when not in object context in /app/data/plugins/FediverseSync/template/comment.php:3 Stack trace: #0 /app/data/plugins/FediverseSync/Plugin.php(989): require_once() #1 [internal function]: FediverseSync_Plugin::renderComments(Object(Widget\Archive), NULL) #2 /app/var/Typecho/Plugin.php(446): call_user_func_array(Array, Array) #3 /app/var/Widget/Archive.php(1274): Typecho\Plugin->__call('Widget_Archive:...', Array) #4 /app/data/themes/paper-main/footer.php(23): Widget\Archive->footer() #5 /app/var/Widget/Archive.php(1336): require('/app/data/theme...') #6 /app/data/themes/paper-main/post.php(51): Widget\Archive->need('footer.php') #7 /app/var/Widget/Archive.php(1418): require_once('/app/data/theme...') #8 /app/var/Typecho/Router.php(99): Widget\Archive->render() #9 /app/index.php(23): Typecho\Router::dispatch() #10 {main}