* Insert obligatory "PHP was always wrong" joke here. *
No, PHP is still very much popular (the most used CMSs, all written in PHP, are just the tip of the iceberg). It's just that NodeJS and the myriad of frontend frameworks are still somewhat of the new kids in town, making JS talk "cool" and, since programming communities are notorious echo chambers (and JS particularly so), it can give the impression that other stuff isn't prominent.
In a different example: Python is my favorite language to work with and is also extremely popular, being almost the de-facto choice in a couple of fields, yet one wouldn't know it by looking at some communities, despite getting buzz in general.