svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ setup.xml

From: Date: Mon, 19 Dec 2011 09:55:46 +0000
Subject: svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9254@lists.php.net to get a copy of this message
uw Mon, 19 Dec 2011 09:55:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=321155 Log: Give hints on deployment Changed paths: U phpdoc/en/trunk/reference/mysqlnd_ms/setup.xml Modified: phpdoc/en/trunk/reference/mysqlnd_ms/setup.xml =================================================================== --- phpdoc/en/trunk/reference/mysqlnd_ms/setup.xml 2011-12-19 09:16:09 UTC (rev 321154) +++ phpdoc/en/trunk/reference/mysqlnd_ms/setup.xml 2011-12-19 09:55:46 UTC (rev 321155) @@ -8,6 +8,7 @@ &reftitle.required; <para> <literal>PHP 5.3.6</literal> or newer. + Some advanced functionality requires <literal>PHP 5.4.0</literal> or newer. </para> <para> The <literal>mysqlnd_ms</literal> replication and load balancing @@ -41,9 +42,19 @@ the failover strategy, and the use of lazy connections. </para> <para> + The plugin loads its configuration file at the beginning of a web request. + It is then cached in memory and used for the duration of the web request. + This way, there is no need to restart PHP after deploying the configuration + file. Configuration file changes will become active almost instantly. + </para> + <para> The PHP configuration directive <link linkend="ini.mysqlnd-ms.ini-file"><literal>mysqlnd_ms.ini_file</literal></link> - is used to set the plugins configuration file. + is used to set the plugins configuration file. Please note, that + the PHP configuration directive may not be evaluated for every web request. + Therefore, changing the plugins configuration file name or location may + require a PHP restart. However, no restart is required to read changes if + an already existing plugin configuration file is updated. </para> <para> Using and parsing <acronym>JSON</acronym> is efficient, and using <acronym>JSON</acronym> @@ -200,8 +211,12 @@ and a list of slave servers. The master list is configured with the keyword <literal>master</literal>, while the slave list is configured with the <literal>slave</literal> keyword. Failing to provide a slave list will result - in a fatal <constant>E_WRROR</constant> level error, although a slave list - may be empty. + in a fatal <constant>E_ERROR</constant> level error, although a slave list + may be empty. It is possible to allow no slaves. However, this is only recommended + with synchronous clusters, please see also + <link linkend="mysqlnd-ms.supportedclusters">supported clusters</link>. + The main part of the documentation focusses on the use + of aynchronous MySQL replication clusters. </para> <para> The master and slave server lists can be optionally indexed by symbolic

« previous php.doc.cvs (#9254) next »