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
1 Comment
这个是没有跑
composer install
吧…