Laravel 5-写入供应商目录 [英] Laravel 5 - Write to vendor directory

查看:101
本文介绍了Laravel 5-写入供应商目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Laravel 5工作一段时间后崩溃了.这是错误:

Laravel 5 crashed after working for a while. Here's the error:

file_put_contents(/Library/WebServer/Documents/project/vendor/services.json): 无法打开流:权限被拒绝

file_put_contents(/Library/WebServer/Documents/project/vendor/services.json): failed to open stream: Permission denied

在Filesystem.php第74行

我想知道为什么它要写入供应商目录吗?

I wonder why it's trying to write to the vendor directory?

推荐答案

尝试使用此工匠命令

php artisan cache:clear

这篇关于Laravel 5-写入供应商目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆