Welcome to Qi-U Community for programmer and developer-Open, Learning and Share

Categories

0 votes
100 views
in Technique[技术] by (31.9m points)

workerman phpSocketio https 配置好像不起作用在 win主机上

`

    $context = array(
        'ssl' => array(
            'local_cert'  =>'C:phpstudy_proWWWapi.lxianglive.comapi.lxianglive.com.cer',
            'local_pk'    =>'C:phpstudy_proWWWapi.lxianglive.comapi.lxianglive.com.key',
            'verify_peer' => false,
        )
    );
  $uidConnectionMap = array();
  // 记录最后一次广播的在线用户数
  $last_online_count = 0;
    $sender_io = new SocketIO(8282,$context);//socket的端口

`
win主机 apache

image.png

http 的倒是很正常 但是https 就有问题了……

有没有有经验能够接单 帮忙处理一下的

不知道是 小程序apache https转发 wss 有问题

还是https 配置的问题


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (31.9m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Qi-U Community for programmer and developer-Open, Learning and Share
...