RSS Feed/News Redis cache using a socket

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,695
Points
823

Reputation:

My host uses a socket for both Memcache and Redis. Apparently it's faster than using an IP. My question is I can't seem to configure it properly. It is enabled under my PHP setting and is active. This is the defualt setting for Redis according to the manual.
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Redis';
$config['cache']['config'] = [
'host' => '127.0.0.1',
'password' => 'password'
];
Click to expand...
I have tried to paste it under the host, then with no password...

Read more

Continue reading...
 
Status
Not open for further replies.
Top