Jump to content

Memcached with socket connection


Recommended Posts

Today, in 4.1 release, only memcached with port connection supported.

My hosting provider support only "socket" connection.

Wish it will be made in future releases.


Additional info: http://php.net/manual/ru/memcache.connect.php

bool Memcache::connect ( string $host [, int $port [, int $timeout ]] )


Point to the host where memcached is listening for connections. This parameter may also specify other transports likeunix:///path/to/memcached.sock to use UNIX domain sockets, in this case port must also be set to 0.


Point to the port where memcached is listening for connections. Set this parameter to 0 when using UNIX domain sockets.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...