dongmu1914
dongmu1914
2018-01-31 19:50

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 3年前

    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
    
    点赞 评论 复制链接分享

相关推荐