1、按文檔安裝webman-permission插件,啟動webman時報錯。報錯內(nèi)容是 protocol error, got 'H' as reply type byte
2、已安裝的插件有 php-di/php-di
webman/redis-queue
tinywan/jwt
。redis可以正常使用
有人知道這是什么原因嗎?
你這報錯和這個插件沒關(guān)系
@Arsenal 也是會報以下錯
worker[webman:95805] exit with status 11
worker[websocket:95814] exit with status 11
worker[monitor:95810] exit with status 11
worker[webman:95804] exit with status 11
worker[webman:95803] exit with status 11
改成 $redis = new Client('redis://' . ( $config['host'] ?? '127.0.0.1') . ':' . ($config['port'] ?? 6379)); 這樣
RedisWatcher.php
createRedisClient 方法
下面這個bug
$redis = new Client('redis://' . $config['host'] ?? '127.0.0.1' . ':' . $config['port'] ?? 6379);
丟失了端口
修改成
$host = $config['host'] ?? '127.0.0.1';
$port = $config['port'] ?? 6379;
$redis = new Client('redis://' . $host . ':' . $port);