国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

Windows下workerman無法啟動!

胖紙囧

win7x64旗艦版,PHP5.5.12,在phpinfo里頭已經(jīng)包含了pthreads,

并且網(wǎng)上的測試案例

<?php
class AsyncOperation extends Thread {
  public function __construct($arg){
    $this->arg = $arg;
  }

  public function run(){
    if($this->arg){
      printf("Hello %s\n", $this->arg);
    }
  }
}
$thread = new AsyncOperation("World");
if($thread->start())
  $thread->join();
?>

也測試通過,但是啟動workerman的時候就是

pthreads  
You have to install  pthreads extension
Workerman start fail
6734 1 0
1個回答

walkor 打賞

運行
php -m
如果沒有pthreads就是沒裝上。

workerman使用的是php cli,和網(wǎng)頁的php不是一個php可執(zhí)行文件

另外workerman-mt這個版本已經(jīng)不維護(hù)了,準(zhǔn)備下掉了,請使用linux版本3.x吧

  • 暫無評論
年代過于久遠(yuǎn),無法發(fā)表回答
??