php 的 lavarel 报错ErrorException in Filesystem.php line 81:

ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
阅读 8.1k
2 个回答

检查一下文件系统的权限,这是因为在往文件系统写入文件的时候没有权限。

make sure :

sudo chmod -R 775 storage/

then try :

php artisan cache:clear

Hope that works. Happy Hacking

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题