Configuración en tiempo de ejecución
El comportamiento de estas funciones se ve afectado por la configuración de php.ini.
| Nombre | Por defecto | Cambiable | Historial de cambios |
|---|---|---|---|
| mysqlnd_ms.enable | 0 | its PHP_INI_* value | |
| mysqlnd_ms.force_config_usage | 0 | its PHP_INI_* value | |
| mysqlnd_ms.ini_file | its PHP_INI_* value | ||
| mysqlnd_ms.collect_statistics | its PHP_INI_* value |
He aquí una breve explicación de las directivas de configuración.
- mysqlnd_ms.enable integer
-
Enables or disables the plugin. If set to disabled, the extension will not plug into mysqlnd to proxy internal mysqlnd C API calls.
- mysqlnd_ms.force_config_usage integer
-
If enabled the plugin checks if the host (server) parameter value of any MySQL connection attempt matches a section name from the plugin configuration file. If not, the connection attempt is blocked.
- mysqlnd_ms.ini_file string
-
Plugin specific configuration file.
- mysqlnd_ms.collect_statistics integer
-
Enables or disables the collection of statistics. The collection of statistics is disabled by default for performance reasons. Statistics are returned by the function mysqlnd_ms_get_stats().
