file_put_contents无法打开流:无此文件或目录,安装 [英] file_put_contents failed to open stream: No such file or directory , Install

查看:81
本文介绍了file_put_contents无法打开流:无此文件或目录,安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从bitbuket克隆了一个laravel项目.还运行所有必要的命令以获取所有供应商文件,例如:

  composer dump-autoload作曲家安装PHP的工匠缓存:清除PHP的工匠明确编译 

还删除了文件/public_html/bootstrap/cache/config.php

但是当我尝试启动该项目时出现以下错误:

file_put_contents(C:\ xampp \ htdocs \ laravelstart \ storage \ framework/sessions/sRPb1A6BKrshhH8HPAR2fXVEcCH4daYCLxgo4b8M):打开流失败:没有这样的文件或目录

解决方案

rm -rf bootstrap/cache/config.php(删除)

php artisan config:cache

i cloned a laravel project from bitbuket . also run all necessary command to get all vendors files like :

composer dump-autoload
composer install
php artisan cache:clear
php artisan clear-compiled

also deleted the file /public_html/bootstrap/cache/config.php

but i am getting the below error when i try to launch the project :

file_put_contents(C:\xampp\htdocs\laravelstart\storage\framework/sessions/sRPb1A6BKrshhH8HPAR2fXVEcCH4daYCLxgo4b8M): failed to open stream: No such file or directory

解决方案

rm -rf bootstrap/cache/config.php (delete)

php artisan config:cache

这篇关于file_put_contents无法打开流:无此文件或目录,安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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