Sapthaka
Sapthaka

Reputation: 420

The stream or file "...\storage\logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied

I'm a newbie to laravel. I used xammp and composer to install laravel. The installing process was successful. But when I try to launch localhost:8000 it says

The stream or file "C:\Windows\System32\AwesomeProject\storage\logs/laravel.log" could not be opened in
append mode: Failed to open stream: Permission denied

OS is windows 10. So Please help me to fix this problem...

Upvotes: 2

Views: 1670

Answers (1)

lgflorentino
lgflorentino

Reputation: 120

Check that the directory exists and the permissions on the directory are writable by your user. C:\Windows\System32 is not the right place for your Laravel project.

Upvotes: 1

Related Questions