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命令窗口关了 命令就自动停了