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

0

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 <span class="hljs-number">777</span> storage<span class="hljs-comment">/*</span>
We will be happy to hear your thoughts

Leave a reply

CodeROG
Logo
Reset Password
Compare items
  • Total (0)
Compare
0
Shopping cart