Redis cache with socket - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Redis cache with socket (/showthread.php?tid=79204) |
Redis cache with socket - matrox445 - 05-11-2021 Hello, In Codeigniter 3, the Redis cache driver can connect via socket with this code : PHP Code: if ($config['socket_type'] === 'unix') { 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 ! RE: Redis cache with socket - matrox445 - 05-28-2021 Any though on this ? RE: Redis cache with socket - craig - 05-28-2021 Have you tried putting the Unix socket path in the Redis config's 'host' value? RE: Redis cache with socket - kenjis - 03-05-2023 You can use like this '/tmp/redis.sock'. |