Laravel 5.4 error - file_put_contents(cache services.php) failed to open stream. Permission denied

preview_player
Показать описание
how to solving an error in laravel 5.4 :

---
Whoops, looks like something went wrong
---

just run this script in terminal :
php artisan cache:clear

and run your app again!, works for me! :)
Рекомендации по теме
Комментарии
Автор

How we can solve this problem if this problem was shown repeatly (every day).
my server condition:
- "public" directory owner has been set into "$USER:www-data".
- crontab using user "$USER"
- "$USER" has "root" group

vafrcor