We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eda72da + 3a8b2b8 commit f2ee9ecCopy full SHA for f2ee9ec
lib/private/RedisFactory.php
@@ -77,7 +77,7 @@ private function create() {
77
$this->instance = new \Redis();
78
79
$host = $config['host'] ?? '127.0.0.1';
80
- $port = $config['port'] ?? ($host[0] !== '/' ? 6379 : null);
+ $port = $config['port'] ?? ($host[0] !== '/' ? 6379 : 0);
81
82
$this->eventLogger->start('connect:redis', 'Connect to redis and send AUTH, SELECT');
83
// Support for older phpredis versions not supporting connectionParameters
0 commit comments