NodeJS and PHP hosting

只愿长相守 提交于 2019-12-10 17:16:25

问题


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 .


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/28298627/nodejs-and-php-hosting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!