沃梦达 / 编程问答 / php问题 / 正文

php - 未知:第 0 行需要打开失败.laravel 5.6

php - Unknown: Failed opening required on line 0. laravel 5.6(php - 未知:第 0 行需要打开失败.laravel 5.6)

本文介绍了php - 未知:第 0 行需要打开失败.laravel 5.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚通过 composer 安装了 laracast/flash 并更新了 nesbot/carbon.cmd 在下载碳时发疯了.cmd界面显示了一会整个界面散落的文字和方框,下载完成.php artisan serve 是否在 localhost:8000 出现以下错误.

I just installed laracast/flash and updated nesbot/carbon via composer. The cmd went nuts while downloading carbon. Cmd interface displayed scattered words and boxes all over the interface for a while and the download was completed. Did php artisan serve at localhost:8000 and I've got the following errors.

警告:未知:无法打开流:第 0 行的未知中没有此类文件或目录

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

致命错误:未知:在第 0 行的未知中打开所需的 'C:xampphtdocsNC WorldProjectNameserver.php' (include_path='C:xamppphpPEAR') 失败

Fatal error: Unknown: Failed opening required 'C:xampphtdocsNC WorldProjectNameserver.php' (include_path='C:xamppphpPEAR') in Unknown on line 0

推荐答案

尝试禁用你的杀毒软件,这发生在我身上,好像avast删除了我的server.php.

Try to disable your anti-virus, this happens to me, it seems avast deletes my server.php.

所以我将它添加到异常中

So I added it to the exception

这篇关于php - 未知:第 0 行需要打开失败.laravel 5.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:php - 未知:第 0 行需要打开失败.laravel 5.6

基础教程推荐