<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # workerman ## 端口 20005 socket端口 20014 外部通訊端口 20015 內部通訊端口 此workerman啟動和CRMEB商城項目端口不會發生沖突 ## 解禁函數 ~~~ `pcntl_signal` `pcntl_signal_dispatch` pcntl_fork` `pcntl_wait` `pcntl_alarm` ~~~ ## Linux 下命令詳解 ~~~ #長連接服務 php think workerman [ status ] [ server ] [ --d ] #Linux 觀察者模式啟動 php think workerman start 或 sudo -u www php think workerman start #Linux 進程守護模式啟動 php think workerman start --d 或 sudo -u www php think workerman start --d #Linux 停止 php think workerman stop #Linux 查看運行狀態 php think workerman status ~~~ ### Linux 下啟動workerman步驟 1.目錄切換到知識付費項目根目錄,點擊終端 ![](https://img.kancloud.cn/e0/b7/e0b7aea146558326f74fb3dcd646d801_3016x738.png) 2.打開終端后切到知識付費根目錄 ![](https://img.kancloud.cn/b7/9f/b79f7573c962583bec60fb2c61437a70_2818x656.png) 3.執行命令檢測命令查看workerman是否啟動 未啟動樣子 ![](https://img.kancloud.cn/db/05/db0510c2265f4063f24a95dbc1dfe409_2126x424.png) 啟動了的樣子【**已啟動workerman就不需要再次啟動,若想重啟請先執行關閉**】 ![](https://img.kancloud.cn/15/49/15495fac1cdcb5d183ab10ff4615575c_2458x1046.png) 4.未啟動執行啟動命令 ![](https://img.kancloud.cn/37/e7/37e73efb1aaf033cf8b8ff794c6483ab_2518x556.png) 關閉workerman方法【***想要重啟workerman,必須先關閉***】 ![](https://img.kancloud.cn/1f/7d/1f7d8b281d87c05591349d312b0853b2_2194x268.png) ## Windows 下命令詳解 ~~~ # 第一步 啟動內部通訊 php think workerman start channel # 第二步 啟動聊天服務 php think workerman start chat # 第三步 啟動bussinessWorker 進程 php think workerman start business ~~~ **windows下雙擊 workerman.bat文件** ![](https://img.kancloud.cn/58/7c/587c66055f69c5b8fcd34e7fb36af0d3_1454x540.png) #### 注意事項 1. windows 下啟動workerman必須得同時啟動以上三條命令. 關閉服務只需要關閉命令行就可以; 2. windows下方便用戶操作可直接運行 根目錄下得 woekman.bat 文件;就可以啟動workerman服務; 3. windows下雙擊 workerman.bat文件閃退,基本上是由于PHP環境變量沒有配置導致得,可以查看[配置]->[PHP環境變量配置]文章進行配置; 4. 此workerman服務,已經包含**定時任務**; 5. liunx服務器上需要切換到當前項目得根目錄執行啟動命令,啟動命令: `php think workerman start --d` 6. 需要開啟 **20005,20014, 20015** 端口,寶塔設置放行端口,服務器還需放行端口規則 #### 修改端口 **注:若服務器中端口沖突可以修改端口,一個服務器中安裝多套知識付費系統則必須要修改端口** 首先在**application/config.php**文件中修改對應的端口,**端口可以自行設置** ![](https://img.kancloud.cn/8c/94/8c9406b06befa0dcacf4fa7ba57a612d_3018x1672.png) * **workerman.chat**為外部通信服務端口,默認為20014 * **workerman.channel**為內部通信服務端口,默認為20015 * **workerman.text**為Register服務端口,默認為20015 * 修改后需要重啟workerman才能生效
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看