您现在的位置是: 首页 > 后端开发 Laravel项目出现could not be opened: failed to open stream: Permission denied
Laravel项目出现could not be opened: failed to open stream: Permission denied
2020-05-20 【后端开发】 4853人已围观 8153次浏览
简介Laravel项目出现could not be opened: failed to open stream: Permission denied
出现此类错误,一般都是项目目录下storage文件夹权限不足导致的
执行下面的命令,修改文件夹权限即可
进入到项目根目录
先执行缓存清理
php artisan cache:clear
然后修改文件夹权限
chmod -R 777 storage/
完成后再次访问页面,问题解决
很赞哦! (0)
相关文章
- Laravel Dingo/api 出现 The version given was unknown or has no registered routes.报错
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Nestedset 出现 Node must exists. 错误解决方案
- SqlServer字符串处理
- SqlServer 优化技巧
- PHP 中list()出现Undefined offset: 0错误
- 获取阿里云CDN真实IP
- PHP 在执行 composer install 时出现提示 PHP Fatal error: Allowed memory size of XXXXXX bytes exhausted <...>
- SpringBoot 2.x Security security.basic.enabled=false 失效问题解决
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- Win10 安装适用于Linux的Windows子系统
- Linux 服务器之间传输大文件(压缩文件、查看MD5、后台传输)
- SpringBoot 2.x Security security.basic.enabled=false 失效问题解决
- sentinel directive while not in sentinel mode 问题解决
- mybatis中大于等于小于等于的写法
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- Vue 路由跳转后不在顶部
- 防止Time Machine备份Parallels Desktop的虚拟硬盘文件
- Vue 监听回车 el-input 和 input 使用方法不同
- 使用 OpenSSL 将 pfx 格式证书转为 pem 格式