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 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)