Predis \ Async调用未定义的函数

时间:2018-11-02 08:01:47

标签: php predis

当尝试使用Predis \ Async产生新的客户端时:

$client = new \Predis\Async\Client('tcp://redis:6379', $loop);

我遇到了这个错误

PHP Fatal error:  Uncaught Error: Call to undefined function Predis\Async\Connection\phpiredis_reader_create() in /home/mark/test-task/room/src/backend/websocket/vendor/predis/predis-async/lib/Predis/Async/Connection/StreamConnection.php:75

0 个答案:

没有答案