Well, PHP is obviously doing something right, or everyone else is doing something wrong since PHP still sits near the top of the heap in usage. I noticed this the other day:
http://www.activestate.com/blog/2010/07/growth-dynamic-langu...
which shows PHP is used more than any other dynamic language and it is growing faster than Ruby, but not as fast as Python and Javascript.