I've coded PHP for quite a while now and whilst it is slowly improving, I honestly don't see any compelling reason to use it over Python or anything else other than being on a stupid webserver. Personally I'd have done this project using Python and a WSGI server.