[Solved] Laravel: failed to open stream permission denied [closed]


I would use

sudo chown -R $USER:www-data storage
sudo chown -R $USER:www-data bootstrap/cache

together with

chmod -R 775 storage
chmod -R 775 bootstrap/cache

So you got read/write/execute for your linux user and also for apache via the www-data group.

solved Laravel: failed to open stream permission denied [closed]