Hacker News new | ask | show | jobs
by smt88 3729 days ago
> For PHP, you upload index.php

That's not inherent to PHP. It's just how most hosts are set up. The only major difference is the order in which things are done (and the necessity to have shell access to the host.)

The real comparison is this:

# PHP # 1. Install a server 2. (Possibly optional) Install a process manager 3. (Possibly optional) Configure the process manager 4. Configure the server 5. Start the server 6. Upload files

# Node # 1. Install Node 2. Upload files 3. Start the server

1 comments

So you have 3 configuration steps for PHP and none for Node? You're completely full of it.
6 for PHP, 3 for node. There's an objective difference: node has a built-in, production-ready server.
Silliness. Here's me building a production php server:

1) `apt-get install php5 apache2`

2) upload index.php

3) There is no step 3