dongmu1914 2018-01-31 19:50
浏览 120
已采纳

apache服务器上的php Laravel在mac平台上出错了

after run the server, I went to localhost/wedservice/public got an error blow ....

The stream or file "/Applications/XAMPP/xamppfiles/htdocs/wedservice/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

php version 7.1.7

  • 写回答

1条回答 默认 最新

  • dongshao8471 2018-01-31 19:54
    关注

    Open the terminal and go to your folder htdocs/wedservice/storage and grant permission to write and read, with the chmod command:

    chmod -R 777 storage
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?