6

I am using nodejs and php on my website but when I want to host it on a server they told me there is no server that can run both node and php.

Is there anything that could take the place of nodejs and do the same work not requiring a server for it? I am using nodejs and socket to make realtime updates for my website .

7
  • 2
    Long story short, if you're on shared hosting then no. However there are SaaS solutions that can host for you, such as Heroku. Commented Feb 3, 2015 at 12:14
  • 1
    Any cloud or VPS server can run both PHP and Node at the same time. You get root access and can install whatever you need. Commented Feb 3, 2015 at 12:18
  • Voting to close as it does not appear to be about programming within the scope defined in the help center. Commented Feb 3, 2015 at 12:58
  • Why do you need PHP and NodeJS? Thoses langages are not complementary, they replace each other. What you can do with PHP, you can do it with NodeJS. Commented May 16, 2015 at 14:15
  • how did u used nodejs and php on your website @Waleed kasem ?? I have also my web project which is created on php extension and for real time feature I tried to add nodejs and socket io feature but I wasn't able to use php and nodejs together.Did you solved that issue? Commented Dec 23, 2015 at 14:07

2 Answers 2

4

A couple of options are DigitalOcean, AWS (Amazon Webservices) and Heroku.

Personally, I'd go with DigitalOcean. IMO it's the best for small projects; user friendly (good for beginners as well as advanced users), neat stability, easy scalability and best of all: insanely affordable. You can run both in one 'droplet' as you have full control over the OS.

Sign up to request clarification or add additional context in comments.

Comments

0

You can do it at A2 Hosting This allows Apache to act as a Proxy to the Node aplication,

A2 How to install and configure Node.js on managed hosting accounts

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.