1. Home
  2. Blog
  3. Tutorials

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/*
Need a hand with this?

Let our engineers take it from here