Skip to content
Snippets Groups Projects
Commit c1b618be authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Document support for UNIX domain sockets in memcache.

parent 0563fb68
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,17 @@ Each server group is an array of servers. The data items will be load-balanced b
Each server is an array of parameters for the server. The following options are available:
`hostname`
: Host name or ip address of a memcache server runs. This is the
only required option.
: Host name or ip address where the memcache server runs, or specify other transports like *unix:///path/ssp.sock* to
use UNIX domain sockets. In that case, port will be ignored and forced to *0*.
This is the only required option.
`port`
: Port number of the memcache server. If not set, the
`memcache.default_port` ini setting is used. This is 11211 by
: Port number of the memcache server. If not set, the `memcache.default_port` ini setting is used. This is 11211 by
default.
The port will be forced to *0* when a UNIX domain socket is specified in *hostname*.
`weight`
: Weight of this server in this server group.
[http://php.net/manual/en/function.Memcache-addServer.php](http://php.net/manual/en/function.Memcache-addServer.php)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment