文章最后更新时间:
今天将一个网站迁移到一台新的服务器后有看到报错问题。
Warning: is_readable(): open_basedir restriction in effect. File(/home/www/.aws/config) is not within the allowed path(s): (/www/wwwroot/www.nuoso.cn/:/tmp/) in /www/wwwroot/www.nuoso.cn/wp-content/plugins/leseo/inc/awss3/sdk/Aws/DefaultsMode/ConfigurationProvider.php on line 152
看来是LeSEO插件兼容当前的服务器问题。在之前的服务器用的是LNMP环境包,新服务器用的是宝塔面板,应该是有权限的设置问题。
![图片[1] - 解决安装LeSEO插件出现"Warning: is_readable(): open_basedir"问题 - 诺守博客](https://image.nuoso.cn/2025/12/20251205072145425.jpg)
默认这里是开启的防跨站攻击选项,我们可以关闭后就不显示错误问题。
© 版权声明
© 版权声明 All Rights Reserved
THE END




![诺守博客 - 专业的网络资源分享平台![官网]](https://image.nuoso.cn/2025/12/20251205102715204.png)


暂无评论内容