用于运行PHP + Erlang的Web服务器 [英] Web server for running PHP+Erlang

查看:104
本文介绍了用于运行PHP + Erlang的Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在Web服务器上运行PHP和Erlang。排除Apache,因为后端Erlang进程需要同时处理大约3000个请求。因此,肯定有一些内存占用较小的东西,例如lighttpd ...

I wish to run PHP and Erlang on a web server. Apache is ruled out, because the backend Erlang process would need to handle around 3000 requests concurrently. So definitely something with a smaller memory footprint like lighttpd...

您会推荐哪个?为什么?

Which one would you recommend? And why?

推荐答案

Erlang具有内置的Web服务器:

Erlang has built-in web server:

http://yaws.hyber.org/

您可以使用哪个。

如果您想将Erlang暴露在网络上,Yaws是您的最佳选择(只是学习Erlang,所以这可能是不正确)

If you want to expose Erlang to the web, Yaws is the way to go (in just learning Erlang, so this may be incorrect)

编辑

经过一番挖掘,我发现Erlang网络服务器(Yaws)可以运行PHP脚本。因此,您的答案是一个Erlang网络服务器!

After digging around a bit, I found that the Erlang webserver (Yaws) CAN run PHP scripts. So your answer is an Erlang webserver!

http: //yaws.hyber.org/cgi.yaws

这篇关于用于运行PHP + Erlang的Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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