PHP is used on a vast majority of web sites (that require server side programming). I remember reading recently from a Alexa ranking that the of the top million web sites, nearly 80% use PHP.
Check out the Laravel framework. It will guarantee its popularity (and growth) of PHP for the foreseeable future.
Every language has it's quirks.
Drupal and Wordpress are PHP-based are they not?