PHP was the Visual Basic 6 for web. People without proper training and theoretical knowledge just went and did stuff.
I owe everything I have to Rasmus and his beautiful "shitty" language.
I had a similar "simple counter" moment at a later date and the tech was AJAX. I am yet to have a similar moment after that. Perhaps WASM based interfaces? But it's not the same. Maybe I am not the same.
There are lots of industries that are lucrative, but there's clearly no linear correlation to quality or societal benefit.
I think PHP did make the pie bigger, but there won't be shortage of companies who used PHP to only take a bigger slice.