【发布时间】:2017-03-22 09:50:04
【问题描述】:
我在一个 Laravel 实例中遇到了一个错误,上面写着:
[2016-11-08 16:48:19] prod.ERROR:ErrorException: file_put_contents(/theLaravelSite/bootstrap/cache/services.php): 无法打开流:权限被拒绝 /theLaravelSite/bootstrap/cache/compiled.php:7327
我以前见过这些错误,这些错误与storage 文件夹有关,但我对此有点困惑,因为它似乎说它试图将内容写入bootstrap/cache/services.php。
知道如何解决这个问题吗?
【问题讨论】: