关于windows 版本的workerman的问题

0

我下载了windows版本的workerman,当通过cmd运行了workmand.bat时,提示Fatal error: Class 'Stackable' not found in C:\Users\Administrator\Downloads\wor
kerman-for-win-master\workerman-for-win-master\workerman\Core\Master.php on line
206
请问是什么问题,有php扩展没安装的原因?

已邀请:

darkroom

赞同来自:

似乎是pthread扩展未安装的问题,我安装了扩展,运行后出现了另外的问题:


PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'pthreads d
etected an attempt to connect to a Threaded which has already been destroyed' in
C:\Users\Administrator\Downloads\workerman-for-win-master\workerman-for-win-mas
ter\workerman\Core\Master.php:317
Stack trace:
#0 C:\Users\Administrator\Downloads\workerman-for-win-master\workerman-for-win-m
aster\workerman\Core\Master.php(317): Man\Core\Master::createWorkers()
#1 C:\Users\Administrator\Downloads\workerman-for-win-master\workerman-for-win-m
aster\workerman\Core\Master.php(173): Man\Core\Master::createWorkers()
#2 C:\Users\Administrator\Downloads\workerman-for-win-master\workerman-for-win-m
aster\workerman\bin\start.php(88): Man\Core\Master::run('')
#3 {main}
thrown in C:\Users\Administrator\Downloads\workerman-for-win-master\workerman-
for-win-master\workerman\Core\Master.php on line 317

walkor

赞同来自:

对,需要安装pthreads扩展,README里面有说明

gysidon - 加油吧,phper!

赞同来自:

还有windows版?
我找半天没找到!

要回复问题请先登录注册