laravel项目移植到linux报错


windows上面使用laravel写的项目,移植到linux上报错。




Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/shop_insunnyshop_cn/ys_shop/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/shop_insunnyshop_cn/ys_shop/public/:/tmp/:/proc/) in /www/wwwroot/shop_insunnyshop_cn/ys_shop/public/index.php on line 24

Warning: require(/www/wwwroot/shop_insunnyshop_cn/ys_shop/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/shop_insunnyshop_cn/ys_shop/public/index.php on line 24

Fatal error: require(): Failed opening required '/www/wwwroot/shop_insunnyshop_cn/ys_shop/public/../vendor/autoload.php' (include_path='.:/www/server/php/70/lib/php') in /www/wwwroot/shop_insunnyshop_cn/ys_shop/public/index.phpon line 24


点赞 取消点赞 收藏 取消收藏

<< 上一篇: 微信退款 curl错误 错误码58 怎么解决? 是我的证书路径不对吗

>> 下一篇: 配置laravel出现homestead.rb:in `[]=': string not matched (IndexError)