diff --git a/reference/memcache/configure.xml b/reference/memcache/configure.xml index 5a50118e8d..5f3abc58b0 100644 --- a/reference/memcache/configure.xml +++ b/reference/memcache/configure.xml @@ -1,5 +1,5 @@ - +
&reftitle.install; @@ -10,6 +10,8 @@ In order to use these functions you must compile PHP with Memcache support by using the option. + You may optionally disable memcache session handler support by specifying + . Windows users will enable php_memcache.dll inside diff --git a/reference/memcache/functions/memcache-addserver.xml b/reference/memcache/functions/memcache-addserver.xml index 04196a9f48..b7df04a129 100644 --- a/reference/memcache/functions/memcache-addserver.xml +++ b/reference/memcache/functions/memcache-addserver.xml @@ -1,5 +1,5 @@ - + Memcache::addServer @@ -59,7 +59,10 @@ host - Point to the host where memcached is listening for connections. + Point to the host where memcached is listening for connections. This parameter + may also specify other transports like unix:///path/to/memcached.sock + to use UNIX domain sockets, in this case port must also + be set to 0. @@ -68,7 +71,8 @@ Point to the port where memcached is listening for connections. - This parameter is optional and its default value is 11211. + This parameter is optional and its default value is 11211. Set this + parameter to 0 when using UNIX domain sockets. diff --git a/reference/memcache/functions/memcache-connect.xml b/reference/memcache/functions/memcache-connect.xml index c81828fc9b..7cd71052d9 100644 --- a/reference/memcache/functions/memcache-connect.xml +++ b/reference/memcache/functions/memcache-connect.xml @@ -1,5 +1,5 @@ - + Memcache::connect @@ -35,7 +35,10 @@ host - Point to the host where memcached is listening for connections. + Point to the host where memcached is listening for connections. This parameter + may also specify other transports like unix:///path/to/memcached.sock + to use UNIX domain sockets, in this case port must also + be set to 0. @@ -43,7 +46,8 @@ port - Point to the port where memcached is listening for connections. + Point to the port where memcached is listening for connections. Set this + parameter to 0 when using UNIX domain sockets. diff --git a/reference/memcache/functions/memcache-pconnect.xml b/reference/memcache/functions/memcache-pconnect.xml index e337f3267e..c5062f89f3 100644 --- a/reference/memcache/functions/memcache-pconnect.xml +++ b/reference/memcache/functions/memcache-pconnect.xml @@ -1,5 +1,5 @@ - + Memcache::pconnect @@ -34,7 +34,10 @@ host - Point to the host where memcached is listening for connections. + Point to the host where memcached is listening for connections. This parameter + may also specify other transports like unix:///path/to/memcached.sock + to use UNIX domain sockets, in this case port must also + be set to 0. @@ -42,7 +45,8 @@ port - Point to the port where memcached is listening for connections. + Point to the port where memcached is listening for connections. Set this + parameter to 0 when using UNIX domain sockets. diff --git a/reference/memcache/ini.xml b/reference/memcache/ini.xml index ee9b5f29a5..6216dbff61 100644 --- a/reference/memcache/ini.xml +++ b/reference/memcache/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -40,6 +40,18 @@ PHP_INI_ALL Available since Memcache 2.0.2 + + session.save_handler + + PHP_INI_ALL + Available since Memcache 2.1.2 + + + session.save_path + + PHP_INI_ALL + Available since Memcache 2.1.2 + @@ -105,6 +117,36 @@ + + + session.save_handler + string + + + + Use memcache as a session handler by setting this value to memcache. + + + + + + + session.save_path + string + + + + Defines a comma separated of server urls to use for session storage, for example + "tcp://host1:11211, tcp://host2:11211". + + + Each url may contain parameters which are applied to that server, they are the same + as for the Memcache::addServer method. For example + "tcp://host1:11211?persistent=1&weight=1&timeout=1&retry_interval=15" + + + +