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

Php Tutorials CodeROG

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/*

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top