PHP Websocket on Bluehost

前端 未结 1 1761
礼貌的吻别
礼貌的吻别 2021-01-07 11:56

I am trying to setup Websocket based PHP chat application from Chat-Using-WebSocket-and-PHP-Socket on Bluehost on domain XYZ.ABC.com.

I have changed $host to XYZ.ABC

相关标签:
1条回答
  • 2021-01-07 12:41

    If you have shell access you need to run the script with

    nohup <command> &
    

    It will then run in background and not stop if you leave the shell.

    If you don't have SSH access there is no chance in keeping it alive. Look for a cheap vserver or rootserver with SSH access then.

    0 讨论(0)
提交回复
热议问题