The stream or file "C:\inetpub\wwwroot\olamformations\storage\logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied windows server code example

Example 1: storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

$ chmod -R 775 storage bootstrap/cache

Example 2: UnexpectedValueException The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

# setenforce 0

Tags:

Html Example