Using Node.js and PHP on the same server (Amazon EC2)

Asked

Viewed 399 times

4

My site is made "totally" in PHP and I used Node.js for the real-time chat part. I’m using the services of AWS and I came up with a big question:

I can install Node.js in the same PHP instance (apache) or create an instance for Node separately?

2 answers

5


Yes you can, Apache by default uses port 80 and you can set another port to Nodejs as 8888.

3

Browser other questions tagged

You are not signed in. Login or sign up in order to post.