laravel自动删除php artisan服务上的server.php [英] laravel automatically deletes server.php on php artisan serve

查看:120
本文介绍了laravel自动删除php artisan服务上的server.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows环境下使用php 7.2(在xampp上安装)使用laravel 5.6.安装laravel后,'php artisan serve'命令起作用,但会自动删除server.php文件.

I am using laravel 5.6 on windows environment using php 7.2, (installed with xampp).After installing laravel the 'php artisan serve' command work but automatically deletes the server.php file .

推荐答案

为避免掩盖答案,在评论

Just to avoid the answer to this getting buried, OP linked issue solution in the comment Link explaining issue and how to resolve

用户运行了Avast防病毒软件,并且错误地将server.php标记为恶意文件,为此文件向Avast添加了例外,从而解决了该问题.

User had Avast antivirus running and it incorrectly flagged server.php as a malicious file, adding an exception to Avast for that file resolved the issue.

这篇关于laravel自动删除php artisan服务上的server.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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