The brilliant thing about PHP is webapages as templates. It's so simple and easy to get something useful going, both to write it and deploy. Templates weren't new - shell had string interpolation - just simple and useful.
The libraries and improvements to the language follow from its popularity, which followed from its simplicity and usefulness.