diff --git a/reference/pdo/reference.xml b/reference/pdo/reference.xml index 433a6fcb06..d999ff1789 100644 --- a/reference/pdo/reference.xml +++ b/reference/pdo/reference.xml @@ -1,5 +1,5 @@ - + @@ -31,6 +31,7 @@ &reftitle.install; PHP 5.1 and up on Unix systems + If you're running a PHP 5.1 release, PDO is included in the distribution; it will be automatically enabled when you run configure. It is @@ -47,6 +48,8 @@ ]]> + + After installing PDO as a shared module, you must edit your php.ini file so that the PDO extension will be loaded automatically when PHP runs. @@ -60,6 +63,8 @@ extension=pdo.so ]]> + + Having PDO as a shared module will allow you to run pear upgrade pdo as new versions of PDO are published, without @@ -67,9 +72,11 @@ extension=pdo.so also need to upgrade your database specific PDO drivers at the same time. + PHP 5.0 and up on Unix systems + PDO is available as a PECL extension from &url.pecl.package;pdo. @@ -79,6 +86,8 @@ extension=pdo.so pear to be able to handle the compressed package files. + + Run the following command to download, build, and install the latest stable version of PDO: @@ -88,6 +97,8 @@ pear install pdo ]]> + + If PDO is still in beta (and at the time of writing, it is), you will need to tell the pear tool that it's ok to fetch the beta package. @@ -98,6 +109,8 @@ pear install pdo-beta ]]> + + The pear command automatically installs the PDO module into your PHP extensions directory. To enable the @@ -109,6 +122,7 @@ extension=pdo.so ]]> + Windows users running PHP 5.1 and up