DEV Community

loading...

Discussion on: PHP vs Node.js

Collapse
ajayyadav profile image
Ajay Yadav

Php requires apache to run, and node also requires nodejs pre-installed....

I can see your jealousy level 😜

Collapse
jcarlosweb profile image
Carlos Campos

php -S localhost:8000 -t out/

Collapse
noclat profile image
Nicolas Torres

PHP does not require Apache to run. You can execute scripts in command line the same way than Node.js.

Thread Thread
kmistele profile image
Kyle Mistele

True, you can definitely install just an executable