douou9786 2012-04-10 09:07
浏览 44
已采纳

在不运行守护程序的情况下设置Websocket服务器

This might look like a simple question, but it's boggling my mind: Assume I can't run Daemons, how would I set up a websocket server?

(Details: Apache 2.2.21, PHP 5.3.9, so preferably with PHP)

  • 写回答

3条回答 默认 最新

  • dongxing1965 2012-04-10 11:59
    关注

    By not wanting daemons I assume you are asking for something that runs in Apache/PHP rather than as a standalone program/server that you have to run.

    Note that PHP does not yet have a good option that support the old Hixie WebSocket protocol and the newer HyBi/IETF protocol at the same time (most other languages have a server that supports both).

    If you are willing to consider non-PHP options, these projects can be integrated into Apache and support both revisions of the protocol:

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记