Sample Header Ad - 728x90

How to configure systemd so that PHP can use memcached unix socket?

1 vote
1 answer
1094 views
I'm in the process of upgrading from Ubuntu Server 16.04 to 18.04 and at the same time upgrading from PHP 5.6 to PHP 7. In /etc/memcached.conf I added: -s /tmp/memcached.sock -a 666 When I restart the service, I see: srw-rw-rw- 1 memcache memcache 0 Nov 13 03:44 /tmp/systemd-private-7fc3b73707084a93bcc6abd22001eb7e-memcached.service-oIF206/tmp/memcached.sock= How can I configure systemd to know where the unix socket is?
Asked by Paul (537 rep)
Nov 13, 2018, 04:07 AM
Last activity: Nov 20, 2018, 03:14 PM