1.需求是用 workerman 定時發送http請求
windows環境
composer require workerman/http-client
報錯
workerman/workerman v3.5.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
window php 沒有 pcntl擴展
解決方案:
(1)裝個虛擬機
(2)任務計劃程序
2.window的cmd命令窗口關了 命令就自動停了