I was not able to get memcached work with unix socket ( not the plugin; the server itself ), so this function is not tested.
In theory it’s possible to put it into the memcached server list as unix socket.
Hi serons,
Any news, were you able to test it?
Thread Starter
serons
(@serons)
I couldn’t make it work with socket.
ugh … very much needed here.
Hi xxdesmus,
I know it would be important, but the issues seems to be with theh PHP plugins, not mine.
It does work I have a couple sites running nginx server that I have been using the plugin on. Using memcache on one and memcached on the other
just change the following server line
# PHP-FPM upstream; change it accordingly to your local config!
upstream php-fpm {
server 127.0.0.1:9000;
to something like this
# PHP-FPM upstream; change it accordingly to your local config!
upstream php-fpm {
server unix:/var/run/php5-fpm.sock;
Those lines are for PHP-FPM, not memcached and nginx’s configuration, not the plugin’s.
The original question is to connect to memcached from within PHP, not from nginx.
I’ve found the root of the issue; I’ll add the feature in release 1.3
I’ve released 1.3, unix socket connection should be available now, but I welcome any tests; there’s always a window for mistakes.