refactor into serve_php()
Merge branch 'master' of github.com:k4ml/phpdev