今天老蒋将一个网站迁移到一台新的服务器后有看到报错问题。
Warning: is_readable(): open_basedir restriction in effect. File(/home/www/.aws/config) is not within the allowed path(s): (/www/wwwroot/www.lezaiyun.com/:/tmp/) in /www/wwwroot/www.lezaiyun.com/wp-content/plugins/leseo/inc/awss3/sdk/Aws/DefaultsMode/ConfigurationProvider.php on line 152
看来是LeSEO插件兼容当前的服务器问题。在之前的服务器用的是LNMP环境包,新服务器用的是宝塔面板,应该是有权限的设置问题。

默认这里是开启的防跨站攻击选项,我们可以关闭后就不显示错误问题。
