One reason PHP is so popular, before 2005 there were four choices:<p>Java --all frameworks sucked at the time (I had to work on struts, it was painful).<p>.net --tied to MS world, and the first iterations sucked<p>php --it was quick and dirty and easy to get started<p>cgi,perl, python, C++ --required higher level of expertise, and they were hard<p>php, was the sensible choice for something quick, and the more "primitive" state of the web apps at the time, demanded less from the framework/language being used.<p>Right now there is much more choices, and Python (Django), and Ruby on Rails can be really quick to get started on, therefore php is loosing it's main advantage, yet Django and Ror are much more sophisticated and maintainable on the long run.<p>Even Java now has some nimbler frameworks (Wicket, Stripes etc.)<p>So, right now PHP is a very bad choice to do anything significant, as it lost its advantages over time, yet it is a mess to work with.<p>But, the main reason we still PHP used so much, is that a lot of sites were build before 2005, and a lot of web devs are used to it, so as a language it will keep its momentum, but at some point it will run out of steam.<p>It seems that even the newbies now prefer Ror over PHP.