Laravel & Docker: The stream or file “/var/www/html/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied

if the above does not work when its added to your .env file the following will:

sudo chmod o+w ./storage/ -R

this will give others permissions without altering user and group permissions.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)