php artisan config:cache 执行报please provide a valid cache path
linux 操作
larael 版本:5.7.14
php :7.4.8
执行 php artisan config:cache 执行报 please provide a valid cache path,查看了下 storage/framework 下的 cache、sessions、views 目录是存在的,并且 config 下面的 cacha.php 文件的配置是’path’ => storage_path (‘framework/cache/data’), 而且如果手动在 bootstrap/cache 目录下面手动添加 config.php 文件,在手动执行 php artisan config:cache,是可以执行,不会报错,但并没有生效。
希望有人提供解决,感谢!!!
推荐文章: