Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel automatically deletes server.php on php artisan serve

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 .

like image 947
chhatraman shrestha Avatar asked Apr 07 '18 06:04

chhatraman shrestha


2 Answers

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

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.

like image 74
Jake Boomgaarden Avatar answered Oct 16 '22 06:10

Jake Boomgaarden


Add the server.php as exception for Avast.

It seems that you have used Avast Antivirus in your system. It detects it as thread.

like image 27
Brn.Rajoriya Avatar answered Oct 16 '22 04:10

Brn.Rajoriya