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

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
    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
    
    点赞 评论

相关推荐