thinkphp5.1框架使用 workerman版本
workerman版本 3.5.34
php think worker:server 启动服务的时候提示报错
[think\exception\ThrowableError]
Fatal error: stream_select(): Argument #4 ($seconds) must be greater than or equal to 0
Exception trace:
() at D:\mp_server\vendor\workerman\workerman\Events\Select.php:271
stream_select() at D:\mp_server\vendor\workerman\workerman\Events\Select.php:271
Workerman\Events\Select->loop() at D:\mp_server\vendor\workerman\workerman\Worker.php:2410
Workerman\Worker->run() at D:\mp_server\vendor\workerman\workerman\Worker.php:1406
Workerman\Worker::forkWorkersForWindows() at D:\mp_server\vendor\workerman\workerman\Worker.php:1349
Workerman\Worker::forkWorkers() at D:\mp_server\vendor\workerman\workerman\Worker.php:547
Workerman\Worker::runAll() at D:\mp_server\vendor\topthink\think-worker\src\command\Server.php:75
think\worker\command\Server->execute() at D:\mp_server\thinkphp\library\think\console\Command.php:175
think\console\Command->run() at D:\mp_server\thinkphp\library\think\Console.php:675
think\Console->doRunCommand() at D:\mp_server\thinkphp\library\think\Console.php:261
think\Console->doRun() at D:\mp_server\thinkphp\library\think\Console.php:198
think\Console->run() at D:\mp_server\thinkphp\library\think\Console.php:115
think\Console::init() at D:\mp_server\think:24
windows10操作系统
workerman版本 3.5.34
workerman版本太低了
建议使用tp6.1