nodle
Well-known member
Can someone tell me which is the correct way to use memcached with a socket?
Is it:
Or:
My socket is located at:
/home/mysite/.applicationmanager/memcached.sock
Or is there something else that I should be using instead? Thanks.
Is it:
Code:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Memcached';
$config['cache']['config'] = [
'server' => '127.0.0.1'
];
Or:
Code:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Memcached';
$config['cache']['config'] = [
'server' => 'unix:///home/mysite/.applicationmanager/memcached.sock:0'
];
My socket is located at:
/home/mysite/.applicationmanager/memcached.sock
Or is there something else that I should be using instead? Thanks.