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

在thinkPHP5.0已安裝redis擴展的情況下,在onMessage中調用redis報錯

冰麒麟

在thinkPHP5.0已安裝redis擴展,但是報 Class 'Redis' not found in D:\xampp\htdocs\workermanTest\application\index\controller\Worker.php:41不在worker的代碼中使用redis是好使的。
部分代碼如下:

[attach]2188[/attach]
?

3915 1 0
1個回答

phpcreeper

不在worker代碼中? 那應該你使用的是非PHP-CLI 環(huán)境的redis,? ?workerman是工作在 PHP-CLI 模式下的,必須安裝PHP-CLI環(huán)境的redis擴展,這么來校驗:
【linux】?/path/to/php? -m |? grep -i redis?
【windows】\path\to\php -m? | findstr redis

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