diff --git a/reference/pdo/functions/PDO-construct.xml b/reference/pdo/functions/PDO-construct.xml index a86cd9daf3..3c91107d2a 100644 --- a/reference/pdo/functions/PDO-construct.xml +++ b/reference/pdo/functions/PDO-construct.xml @@ -1,5 +1,5 @@ - + PDO::__construct @@ -12,8 +12,8 @@ PDOPDO::__construct stringdsn - stringusername - stringpassword + stringusername + stringpassword arraydriver_options &warn.experimental.func; @@ -72,14 +72,16 @@ username - The user name, if required, for the DSN string. + The user name for the DSN string. This parameter is optional for + some PDO drivers. password - The password, if required, for the DSN string. + The password for the DSN string. This parameter is optional for + some PDO drivers. diff --git a/reference/pdo/reference.xml b/reference/pdo/reference.xml index ab70299bd1..2dc938eb97 100644 --- a/reference/pdo/reference.xml +++ b/reference/pdo/reference.xml @@ -1,5 +1,5 @@ - + PDO Functions @@ -21,10 +21,13 @@
&reftitle.install; + + + + Windows + + + Windows users can download the extension DLL php_pdo.dll + as part of the PECL collection binaries from + &url.php.downloads;. + + + + + To enable the PDO extension on Windows operating systems, you must + add the following line to &php.ini;: + - - + + + + + Follow the same steps to install and enable the PDO drivers of your + choice. + + + + Linux and UNIX + + Due to a bug in the pear installer you should install + the PDO package manually using the following steps: + + + Download the PDO package to your local machine: + + + + + + + + Determine your PHP bin directory. If your + PHP 5 CLI binary lives at /usr/local/php5/bin/php + then the bin dir is /usr/local/php5/bin. + + + + + Set your path so that your PHP bin directory + is at the front: + + + + + + + + Manually build and install the PDO extension: + +> /usr/local/php5/lib/php.ini +]]> + + + + + Follow the same steps to install and enable the PDO drivers of your + choice. + +
PDO Drivers @@ -74,6 +146,10 @@ extension=php_pdo.dll + + PDO_DBLIB + FreeTDS / Microsoft SQL Server / Sybase + PDO_FIREBIRD Firebird/Interbase 6