Permissions Issue with Laravel on CentOS

前端 未结 6 2040
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 00:35

I\'ve cloned a laravel repo to my CentOS 7 box. When I try to run it, I get a 500 error with nothing displayed.

So I check out /var/log/httpd/error_log

6条回答
  •  我在风中等你
    2020-12-01 01:04

    try these worked for me ...

    sudo find ./storage -type f -exec chmod 666 {} \;
    sudo find ./storage -type d -exec chmod 777 {} \;
    

提交回复
热议问题