Added documentation for new features in memcache 2.1.2

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235919 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mikael Johansson 2007-05-19 08:52:35 +00:00
parent 79807cfebb
commit 952c964c3f
5 changed files with 67 additions and 11 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<section id="memcache.installation">
&reftitle.install;
<para>
@ -10,6 +10,8 @@
<para>
In order to use these functions you must compile PHP with Memcache support
by using the <option role="configure">--enable-memcache[=DIR]</option> option.
You may optionally disable memcache session handler support by specifying
<option role="configure">--disable-memcache-session</option>.
</para>
<para>
Windows users will enable <filename>php_memcache.dll</filename> inside

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry id="function.Memcache-addServer">
<refnamediv>
<refname>Memcache::addServer</refname>
@ -59,7 +59,10 @@
<term><parameter>host</parameter></term>
<listitem>
<para>
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 <literal>unix:///path/to/memcached.sock</literal>
to use UNIX domain sockets, in this case <parameter>port</parameter> must also
be set to <literal>0</literal>.
</para>
</listitem>
</varlistentry>
@ -68,7 +71,8 @@
<listitem>
<para>
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 <literal>0</literal> when using UNIX domain sockets.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.Memcache-connect">
<refnamediv>
<refname>Memcache::connect</refname>
@ -35,7 +35,10 @@
<term><parameter>host</parameter></term>
<listitem>
<para>
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 <literal>unix:///path/to/memcached.sock</literal>
to use UNIX domain sockets, in this case <parameter>port</parameter> must also
be set to <literal>0</literal>.
</para>
</listitem>
</varlistentry>
@ -43,7 +46,8 @@
<term><parameter>port</parameter></term>
<listitem>
<para>
Point to the port where memcached is listening for connections.
Point to the port where memcached is listening for connections. Set this
parameter to <literal>0</literal> when using UNIX domain sockets.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.Memcache-pconnect">
<refnamediv>
<refname>Memcache::pconnect</refname>
@ -34,7 +34,10 @@
<term><parameter>host</parameter></term>
<listitem>
<para>
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 <literal>unix:///path/to/memcached.sock</literal>
to use UNIX domain sockets, in this case <parameter>port</parameter> must also
be set to <literal>0</literal>.
</para>
</listitem>
</varlistentry>
@ -42,7 +45,8 @@
<term><parameter>port</parameter></term>
<listitem>
<para>
Point to the port where memcached is listening for connections.
Point to the port where memcached is listening for connections. Set this
parameter to <literal>0</literal> when using UNIX domain sockets.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<section id="memcache.ini">
&reftitle.runtime;
&extension.runtime;
@ -40,6 +40,18 @@
<entry>PHP_INI_ALL</entry>
<entry>Available since Memcache 2.0.2</entry>
</row>
<row>
<entry>session.save_handler</entry>
<entry></entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since Memcache 2.1.2</entry>
</row>
<row>
<entry>session.save_path</entry>
<entry></entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since Memcache 2.1.2</entry>
</row>
</tbody>
</tgroup>
</table>
@ -105,6 +117,36 @@
</listitem>
</varlistentry>
<varlistentry id="ini.memcache.session-handler">
<term>
<parameter>session.save_handler</parameter>
<type>string</type>
</term>
<listitem>
<para>
Use memcache as a session handler by setting this value to <literal>memcache</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.memcache.save-path">
<term>
<parameter>session.save_path</parameter>
<type>string</type>
</term>
<listitem>
<para>
Defines a comma separated of server urls to use for session storage, for example
<literal>"tcp://host1:11211, tcp://host2:11211"</literal>.
</para>
<para>
Each url may contain parameters which are applied to that server, they are the same
as for the <function>Memcache::addServer</function> method. For example
<literal>"tcp://host1:11211?persistent=1&amp;weight=1&amp;timeout=1&amp;retry_interval=15"</literal>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>