See #51. Work on improving PHP support and deubgging errors.