Assorted minor updated. Among them the addition of a paragraph to explain that one has to enable use of mysqlnd prior to using a mysqlnd plugin ....

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322072 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ulf Wendel 2012-01-11 15:10:16 +00:00
parent 4adaafa28e
commit bccf45d864
2 changed files with 18 additions and 8 deletions

View file

@ -31,7 +31,7 @@
<literal>PHP</literal> process may handle one or multiple requests.
</para>
<para>
Statistics are aggregated for all connections. It is not possible
Statistics are aggregated for all connections and all storage handler. It is not possible
to tell how much queries originating from
<literal>mysqli</literal>,
<literal>PDO_MySQL</literal> or

View file

@ -39,17 +39,20 @@
<link linkend="mysqlnd-ms.installation">installation instructions</link> to
install the
<link xlink:href="&url.pecl.package;mysqlnd_ms">PECL/mysqlnd_ms</link> extension.
</para>
<para>
Compile or configure the PHP MySQL extension (API) (<link linkend="ref.mysqli">mysqli</link>,
<link linkend="ref.pdo-mysql">PDO_MYSQL</link>,
<link linkend="ref.mysql">mysql</link>) that you plan to use with support
for the <link linkend="book.mysqlnd">mysqlnd</link> library. PECL/mysqlnd_ms
is a plugin for the mysqlnd library. To use the plugin with any of the PHP
MySQL extensions, the extension has to use the mysqlnd library.
</para>
<para>
Then, load the extension into PHP and activate the plugin in the PHP configuration
file using the PHP configuration directive named
<link linkend="ini.mysqlnd-ms.enable">mysqlnd_ms.enable</link>.
</para>
<para>
The plugin uses its own configuration file. Use the PHP
configuration directive
<link linkend="ini.mysqlnd-ms.ini-file">mysqlnd_ms.ini_file</link>
to set the full file path to the plugin-specific configuration file.
This file must be readable by PHP (e.g., the web server user).
</para>
<para>
<example>
<title>Enabling the plugin (php.ini)</title>
@ -61,6 +64,13 @@ mysqlnd_ms.ini_file=/path/to/mysqlnd_ms_plugin.ini
</programlisting>
</example>
</para>
<para>
The plugin uses its own configuration file. Use the PHP
configuration directive
<link linkend="ini.mysqlnd-ms.ini-file">mysqlnd_ms.ini_file</link>
to set the full file path to the plugin-specific configuration file.
This file must be readable by PHP (e.g., the web server user).
</para>
<para>
Create a plugin-specific configuration file. Save the file to the path
set by the PHP configuration directive