NodeJS和PHP托管 [英] NodeJS and PHP hosting

查看:72
本文介绍了NodeJS和PHP托管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上使用nodejs和php,但是当我要将其托管在服务器上时,他们告诉我没有可以同时运行node和php的服务器.

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.

是否有什么可以代替nodejs并完成不需要服务器的工作?我正在使用nodejs和socket来对我的网站进行实时更新.

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 .

推荐答案

几个选项是 DigitalOcean AWS(Amazon Webservices) Heroku .

我个人会使用 DigitalOcean . IMO是小型项目的最佳选择.用户友好(既适合初学者,也适合高级用户),整洁的稳定性,易扩展性和所有优点:买得起的疯狂.您可以完全控制操作系统,因此可以在一个小滴"中同时运行这两个程序.

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.

这篇关于NodeJS和PHP托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆