From bccf45d86410ca5fea183d9ef30705f88b06d0cd Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Wed, 11 Jan 2012 15:10:16 +0000 Subject: [PATCH] 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 --- .../functions/mysqlnd-ms-get-stats.xml | 2 +- reference/mysqlnd_ms/quickstart.xml | 24 +++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml index bf5e5c6db0..b8b4567596 100755 --- a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml +++ b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml @@ -31,7 +31,7 @@ PHP process may handle one or multiple requests. - 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 mysqli, PDO_MySQL or diff --git a/reference/mysqlnd_ms/quickstart.xml b/reference/mysqlnd_ms/quickstart.xml index 75315535fe..fabebab4bb 100755 --- a/reference/mysqlnd_ms/quickstart.xml +++ b/reference/mysqlnd_ms/quickstart.xml @@ -39,17 +39,20 @@ installation instructions to install the PECL/mysqlnd_ms extension. + + + Compile or configure the PHP MySQL extension (API) (mysqli, + PDO_MYSQL, + mysql) that you plan to use with support + for the mysqlnd 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. + + Then, load the extension into PHP and activate the plugin in the PHP configuration file using the PHP configuration directive named mysqlnd_ms.enable. - - The plugin uses its own configuration file. Use the PHP - configuration directive - mysqlnd_ms.ini_file - 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). - Enabling the plugin (php.ini) @@ -61,6 +64,13 @@ mysqlnd_ms.ini_file=/path/to/mysqlnd_ms_plugin.ini + + The plugin uses its own configuration file. Use the PHP + configuration directive + mysqlnd_ms.ini_file + 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). + Create a plugin-specific configuration file. Save the file to the path set by the PHP configuration directive