php-未知:在第0行需要打开失败.laravel 5.6 [英] php - Unknown: Failed opening required on line 0. laravel 5.6

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

问题描述

我刚刚安装了laracast/flash,并通过作曲家更新了nesbot/carbon.在下载碳时,cmd发疯了.Cmd界面在界面上显示了一些分散的单词和文本框,并且下载已完成. php artisan是否在 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:\ xampp \ htdocs \ NC World \ ProjectName \ server.php'(include_path ='C:\ xampp \ php \ PEAR')

Fatal error: Unknown: Failed opening required 'C:\xampp\htdocs\NC World\ProjectName\server.php' (include_path='C:\xampp\php\PEAR') 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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