Spec-Zone .ru
спецификации, руководства, описания, API

21.9.9.5. Installing/Configuring

Copyright 1997-2012 the PHP Documentation Group.

21.9.9.5.1. Requirements

Copyright 1997-2012 the PHP Documentation Group.

PHP 5.5.0 or newer. Some advanced functionality requires PHP 5.5.0 or newer.

The mysqlnd_mux replication and load balancing plugin supports all PHP applications and all available PHP MySQL extensions (mysqli, mysql, PDO_MYSQL). The PHP MySQL extension must be configured to use mysqlnd in order to be able to use the mysqlnd_mux plugin for mysqlnd.

21.9.9.5.2. Installation

Copyright 1997-2012 the PHP Documentation Group.

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/mysqlnd_mux

21.9.9.5.3. Runtime Configuration

Copyright 1997-2012 the PHP Documentation Group.

The behaviour of these functions is affected by settings in php.ini.

Table 21.80. Mysqlnd_mux Configure Options

Name Default Changeable Changelog
mysqlnd_mux.enable 0 PHP_INI_SYSTEM

Here's a short explanation of the configuration directives.

mysqlnd_mux.enable integer

Enables or disables the plugin. If disabled, the extension will not plug into mysqlnd to proxy internal mysqlnd C API calls.