SOLVED – Laravel XAMPP Mac The stream or file “/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied

I am trying to run an existing Laravel project on my localhost but when I try to run the dam thing I get this error:

The stream or file “/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied.

Solution

Navigate to the project directory and run

sudo chmod -R 777 storage/*
We will be happy to hear your thoughts

Leave a reply

CodeROG
Logo
Compare items
  • Total (0)
Compare
0