Redis Server Password for Cache backend

Hello,
i want to activate the Redis Cache backend. But Redis Server using password.

I try below,

$config[‘cache_redis_server_password’] = ‘mypsswrd’;
$config[‘session_server_password’] = ‘mypsswrd’;
$config[‘lock_server_password’] = ‘mypsswrd’;
$config[‘redis_password’] = ‘mypsswrd’;
$config[‘server_password’] = ‘mypsswrd’;

can any one help me ?
Thanks

Hello!

I am afraid, current version of CS-Cart does not support password protected Redis servers. You can implement passing the password into the Redis::connect method of the \Tygh\Backend\Cache\Redis class. Please, check the Redis documentation for the details:

We are also very confused why this isn’t implemented. I’ve created a feature request: Redis passwords

2 Likes