Support » Plugin: WP-FFPC » connect to memcached unix socket

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author petermolnar

    (@cadeyrn)

    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.

    Plugin Author petermolnar

    (@cadeyrn)

    Hi serons,

    Any news, were you able to test it?

    I couldn’t make it work with socket.

    xxdesmus

    (@xxdesmus)

    ugh … very much needed here.

    Plugin Author petermolnar

    (@cadeyrn)

    Hi xxdesmus,

    I know it would be important, but the issues seems to be with theh PHP plugins, not mine.

    dch921

    (@dch921)

    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;
    Plugin Author petermolnar

    (@cadeyrn)

    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.

    Plugin Author petermolnar

    (@cadeyrn)

    I’ve found the root of the issue; I’ll add the feature in release 1.3

    Plugin Author petermolnar

    (@cadeyrn)

    I’ve released 1.3, unix socket connection should be available now, but I welcome any tests; there’s always a window for mistakes.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘connect to memcached unix socket’ is closed to new replies.