I'm using Avast free version, windows 10 64 bit and Xampp. Every time I run PHP built in web server, Avast detects it as a virus

php -S localhost:8000 file.php

I added the files as exception, that didn't change anything, maybe I should add php.exe or the entire xampp folder?

I filed a false positive to Avast, I also reported the bug to XAMPP, just in case it's a Xampp problem.

  • What virus does it detect as, out of interest? – bertieb Nov 27 '18 at 16:18
  • @bertieb it detects it as idp generic virus – Lynob Nov 27 '18 at 16:27

Avast team solved the issue, it wasn't related to Xampp, it was related I believe to the behavior of the browsers, that's my understanding of what say said in their email.

Maybe if you opened localhost:port and have a web server running and if you opened it from terminal by presssing ALT + click on the link, that could be detected as a malware, as far as I understand.

In any case, now they cleared that from their malware database.

  • After retesting, it seems that Avast didn't fix it yet, when they fix it for good, I'll remove this comment – Lynob Nov 27 '18 at 16:25

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.