Support » Plugins and Hacks » W3TC memcached and sock

W3TC memcached and sock

  • Hi all,

    I am trying to use W3TC with memcached, but with socket support. I edited the


    and replaced

    $this->_memcache->addServer(trim($ip), (integer) trim($port), $persistant);


    $ip = trim($ip);
                    $port = (integer) trim($port);
                    if( $ip[0] === '/' ) {
                        $port = 0;
                        $ip = 'unix://' . $ip;
                    $this->_memcache->addServer($ip, $port, $persistant);

    And I have the memcached server up.

    This used to do the trick in the older version, but now, when I test it, I get a Test Failed

    Any help would be appreciated


  • The topic ‘W3TC memcached and sock’ is closed to new replies.