部署laravel 项目须知

部署 laravel 项目须知

Laravel - There is no existing directory at /storage/logs and its not buildable: Permission denied
项目部署上线,运行报错,首先看权限问题,chmod -R 777 storage,依旧报错,再试下下面几个命令就可以了

chmod -R 777 storage

php artisan route:clear

php artisan config:clear

php artisan cache:clear

现有laravel项目的file_put_contents错误

php artisan config:cache
php artisan cache:clear
php artisan optimize
posted @ 2021-03-12 11:49  人称小虎子  阅读(137)  评论(0编辑  收藏  举报