Here are a few examples of simple or dummy servers written using nanoserv, all of them can be run from the command line.

Click on the filename to view the highlighted source code.


Failed to initialize central HHBC repository: Failed to initialize schema in //.hhvm.hhbc(rw-r--r-- root:root): Failed to open /var/www/.hhvm.hhbc: 14 - unable to open database file