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 .
3 Answers
13
votes
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.
3
votes