madala
595
4
Laravel

laravel installation on centos 6.8

Posted 2 years ago by madala

after installting laravel i can't access public through my browser i got the following error

PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/html/blog/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied' in /var/www/html/blog/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107\nStack trace:\n#0 /var/www/html/blog/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/blog/vendor/monolog/monolog/src/Monolog/Logger.php(336): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/blog/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\Logger->addRecord(400, Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)\n#3 /var/www/html/blog/vendor/laravel/framework/src/Illuminate/Log/Writer.php(202): Monolog\Logger->error(Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)\n#4 /var/www/html/blog/vendor/laravel/framework/src/Illuminate/Log/Writer.php(113): Illuminate\Log\Writer->write in /var/www/html/blog/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107

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