PHP is the right tool for the job (for all the wrong reasons) - Sam says you should read this
I think there’s a lot of truth to this. By any objective measurement, PHP is clearly inferior to just about every other programming language out there …but its preinstalled out-of-the-box nature means it’s the path of least resistance.