So it is easy, but have you tried building a web app in Python? You don't even need a web server. Only in recent versions Php got it's own web server. The point is, that Php is easy is mostly a myth. Other languages have as easy path to building a web applications. But they just stop short of giving up any sanity or security...
I am not sure if we should encourage people to make that tradeoff..