DEV Community


Discussion on: PHP vs Node.js

ajayyadav profile image
Ajay Yadav

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

I can see your jealousy level 😜

jcarlosweb profile image
Carlos Campos

php -S localhost:8000 -t out/

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