I created a dir named "test", and inside this directory I created 3 files: 1.jpg, 2.html and 3.php. If I run php -S localhost:80and try to visit localhost / 3.php, it will work. But if I visit 1.jpg or 1.html or any file that is not php, it gives me 404 not found error. I am using PHP 7.1 NTS in Windows 10. I tried with PHP TS and PHP 7.2, but the error persists.

André source
share