A not so good idea to create a web server in pure php http://station.clancats.com/writing-a-webserver-in-pure-php
Run the composer install command first then:
php server 8008
or use any other port of your liking.
Support multi-threading using dktapps/parallel.