Welcome Guest, Not a member yet? Register   Sign In
Redis cache with socket
#1

Hello,

In Codeigniter 3, the Redis cache driver can connect via socket with this code :

PHP Code:
if ($config['socket_type'] === 'unix') {
    $success $this->_redis->connect($config['socket']);
} else { 
// tcp socket
    $success $this->_redis->connect($config['host'], $config['port'], $config['timeout']);


I can be wrong, but it seems like it's no longer supported by the RedisHandler in Codeigniter 4. Any reason for that change ?

Thanks for your help !
Reply


Messages In This Thread
Redis cache with socket - by matrox445 - 05-11-2021, 12:43 AM
RE: Redis cache with socket - by matrox445 - 05-28-2021, 12:03 AM
RE: Redis cache with socket - by craig - 05-28-2021, 01:02 AM
RE: Redis cache with socket - by kenjis - 03-05-2023, 05:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB