T
T
Turar Abu2016-03-07 08:24:52
linux
Turar Abu, 2016-03-07 08:24:52

Where can I find a tutorial on setting up Node.js on Apache for Linux?

I have Xubuntu with LAMP. I wanted to try JS instead of PHP. But nowhere could I find information on how to put Node.js on Apache. Basically, all English-language sites (I have a hard time with English), Russian-speaking ones recommend nginx. I don't want to use nginx yet.
Where can I find instructions for solving this problem?
Preferably in Russian

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Myvrenik, 2016-03-07
@gim0

I wanted to try JS instead of PHP

Do you just want to try it locally? Then there is no need for Apache, you launch a Node.js application and connect to the port it listens on.

I
Ivan, 2016-03-07
@LiguidCool

Just use a node. Unlike PHP, it does not need a third-party server.

O
OnYourLips, 2016-03-07
@OnYourLips

Why do you need Apache? It does not apply in the Node.js ecosystem. But in PHP it has not been used for 5 years already.
Just use nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question