You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to assign database index like below:
$redis = new Redis([
'host' => REDIS_HOST,
'auth' => REDIS_AUTH,
'db' => 3
]);
Then, I checked the doc of constructor, it acted as it is...
Actual behaviour
Sure enought, __construct(): Skip unknown option 'db'
and I have to call:
$redis->select(3); -- And of course it worked.
-- I'm lookking forward if this option can be added to the constructor.
-- Thank you all.
I'm seeing this behaviour on
OS: ubuntu 22.04
Redis: 7.2.0
PHP: 8.3.11
phpredis: 6.0.2
Steps to reproduce, backtrace or example script
Just like part I.
I've checked
There is no similar issue from other users
Issue isn't fixed in develop branch
The text was updated successfully, but these errors were encountered:
Expected behaviour
I tried to assign database index like below:
$redis = new Redis([
'host' => REDIS_HOST,
'auth' => REDIS_AUTH,
'db' => 3
]);
Then, I checked the doc of constructor, it acted as it is...
Actual behaviour
Sure enought, __construct(): Skip unknown option 'db'
and I have to call:
$redis->select(3); -- And of course it worked.
-- I'm lookking forward if this option can be added to the constructor.
-- Thank you all.
I'm seeing this behaviour on
Steps to reproduce, backtrace or example script
Just like part I.
I've checked
develop
branchThe text was updated successfully, but these errors were encountered: