ssbhattarai
Posted on August 23, 2021
If you are a laravel developer you may run into the laraval.log permission error that is **The stream or file "log file location" could not be opened: failed to open stream: Permission denied. I found this error mostly while deploying laravel in VPS (virtual private network) in digitalocean droplet.
To solve this error there is only one command which is:
sudo chown -R www-data:www-data /var/www/{laravel_project_name}
Now your storage permission error must be solved by now.
Happy Coding!!
💖 💪 🙅 🚩
ssbhattarai
Posted on August 23, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
api How to Generate and Display Swagger (OpenAPI) Documentation for Your Laravel API
November 9, 2024