Laravel 5: laravel.log could not be opened: Permission Denied

前端 未结 7 1621
后悔当初
后悔当初 2021-01-31 00:19

To stop you from the start, there is NO permission issue. /storage is recursively chmodded 777 and whole project folder is chowned by apache:apache

I even r

相关标签:
7条回答
  • 2021-01-31 01:01

    Try those commands for laravel 5

    $ php artisan cache:clear 
    
    $ sudo chmod -R 777 app/storage 
    
    $ composer.phar dump-autoload
    

    This happens because laravel do not have the permissions to write to the log file, at least for my case.

    0 讨论(0)
提交回复
热议问题