diff --git a/reference/pdo_mysql/configure.xml b/reference/pdo_mysql/configure.xml index 787bfc3cc5..8630e5dc61 100644 --- a/reference/pdo_mysql/configure.xml +++ b/reference/pdo_mysql/configure.xml @@ -3,10 +3,33 @@
&reftitle.install; - Use to install + The common Unix distributions include binary versions of PHP that can + be installed. Although these binary versions are typically built with + support for the MySQL extensions, the extension libraries + themselves may need to be installed using an additional package. Check + the package manager than comes with your chosen distribution for + availability. + + + + For example, on Ubuntu the php5-mysql package installs + the ext/mysql, ext/mysqli, and PDO_MYSQL PHP extensions. On CentOS, + the php-mysql package also installs these three + PHP extensions. + + + + Alternatively, you can compile this extension yourself. Building PHP from + source allows you to specify the MySQL extensions you want to use, as well + as your choice of client library for each extension. + + + + When compiling, use to install the PDO MySQL extension, where the optional [=DIR] - is the MySQL base install directory. If mysqlnd - is passed as [=DIR], then the MySQL native driver will be used. + is the MySQL base library. As of PHP 5.4, mysqlnd + is the default library. For details about choosing a library, see + Choosing a MySQL library. Optionally, the sets to location @@ -45,7 +68,14 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock 5.4.0 - MySQL client libraries 4.1 and below are no longer supported. + mysqlnd became the default MySQL library + when compiling PDO_MYSQL. Previously, libmysqlclient was the default MySQL library. + + + + 5.4.0 + + MySQL client libraries 4.1 and below are no longer supported.