W3 Total Cache
W3TC + memcached and sock (1 post)

  1. SIlvaCosta
    Posted 2 years ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic