valid point.
PHP is way easier than NodeJS, because it only exists to enrich HTML with some dynamic behavior
PHP by itself is a preprocessor for HTML (it's in the name)
Because in 1996 PHP was mainly a preprocessor.
The hoster CGI setup I agree with, that it's possible to use it as a preprocesser I agree with but
NodeJS, on the other side, is a complete VM, which allows you to create nearly any application.
PHP is the same. I wouldn't do it in either languages but they are both complete VMs, which allow you to create nearly any application. I don't say you should do it but it's possible.
It requires you to create a webserver before you can even start delivering any HTML.
PHP too it's just more commonly used on shared hosters.
I don't disagree on PHP is commonly easier to access, but I am using PHP for over 10 years now and I never except in school worked for a company that used PHP only as a preprocessor, We wrote shitty distributed systems with own socket implementations, job schedulers, CLI tools and other profanities we should be ashamed of with such a language.
As node does right now, it's fascinating to watch from the outside (this is just my opinion ofc).
The point is yes PHP is easier to access in general, good point. It is request response based hence it takes away the complexity of "keeping things alive" that would be good point. pseudo-"stateless" one might argue.
But they are as shitty to setup if you got no clue. And any online tutorial will do the trick nowadays.
or do you disagree with anything in particular ?