Amir_P
2 years ago
58
11
Laravel

permission denied error for laravel.log

Posted 2 years ago by Amir_P

Hi I'm trying to build a laravel project on my VPS using CentOS 7 and NGINX but I'm getting a blank screen for IP_ADDRESS and also IP_ADDRESS/index.php. This is my project structure

http://imgur.com/a/qvpvv

and the complete error is this

PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/usr/share/nginx/html/laravel/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /usr/share/nginx/html/laravel/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107

Please sign in or create an account to participate in this conversation.