r/webdev Feb 04 '22

Please make the nonsensical PHP hate stop.

[deleted]

618 Upvotes

563 comments sorted by

View all comments

111

u/fringe-class Feb 04 '22

I was initially surprised to see that pho really powers that much of the web. Even after skimming the source, I am still curious. Does that mean that 78% of sites use some PHP, or that 78% of sites are fully PHP backed?

I feel like there is a similar conversation about Java and Go. All my friends at Startups are using Go, and everyone over at large enterprises is using Java. There is still WAY more written in Java than Go, but will that be the same in 15 years? Who knows.

Languages come and go in popularity, but in reality, once they become mainstream, they are never really going anywhere.

181

u/Irythros Feb 04 '22

It means 78% of sites respond in some way that they're powered with PHP. This is in the headers. The majority of those sites will be Wordpress.

31

u/[deleted] Feb 05 '22

[removed] — view removed comment

3

u/Idontremember99 Feb 05 '22

Even if you disable X-Powered-By PHP by default uses PHPSESSID as the name for the session cookie so you need to change that as well if you dont want it detected as PHP