Whitespace fix.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195604 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Scott 2005-09-09 15:13:53 +00:00
parent f52cb08996
commit c8927e4471

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.32 $ -->
<!-- $Revision: 1.33 $ -->
<!-- Purpose: database.abstract -->
<!-- Membership: pecl, bundled -->
<!-- State:experimental -->
@ -32,96 +32,96 @@
<procedure id='pdo.install.unix51up'>
<title>PHP 5.1 and up on Unix systems</title>
<step>
<para>
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
recommended that you build PDO as a shared extension, as this will allow
you to take advantage of updates that are made available via PECL. The
recommended configure line for building PHP with PDO support should
enable zlib support (for the pear installer) as well. You may also need
to enable the PDO driver for your database of choice; consult the
documentation for <link linkend="pdo.drivers">database-specific
PDO drivers</link> to find out more about that.
<screen>
<para>
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
recommended that you build PDO as a shared extension, as this will allow
you to take advantage of updates that are made available via PECL. The
recommended configure line for building PHP with PDO support should
enable zlib support (for the pear installer) as well. You may also need
to enable the PDO driver for your database of choice; consult the
documentation for <link linkend="pdo.drivers">database-specific
PDO drivers</link> to find out more about that.
<screen>
<![CDATA[
./configure --with-zlib --enable-pdo=shared
]]>
</screen>
</para>
</screen>
</para>
</step>
<step>
<para>
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.
You will also need to enable any database specific drivers there too;
make sure that they are listed after the pdo.so line, as PDO must be
initialized before the database specific extensions can be loaded.
If you built the extensions statically, you can skip this step.
<screen>
<para>
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.
You will also need to enable any database specific drivers there too;
make sure that they are listed after the pdo.so line, as PDO must be
initialized before the database specific extensions can be loaded.
If you built the extensions statically, you can skip this step.
<screen>
<![CDATA[
extension=pdo.so
]]>
</screen>
</para>
</screen>
</para>
</step>
<step>
<para>
Having PDO as a shared module will allow you to run <command>pear
upgrade pdo</command> as new versions of PDO are published, without
forcing you to rebuild the whole of PHP. Note that if you do this, you
also need to upgrade your database specific PDO drivers at the same
time.
</para>
<para>
Having PDO as a shared module will allow you to run <command>pear
upgrade pdo</command> as new versions of PDO are published, without
forcing you to rebuild the whole of PHP. Note that if you do this, you
also need to upgrade your database specific PDO drivers at the same
time.
</para>
</step>
</procedure>
<procedure id='pdo.install.pecl'>
<title>PHP 5.0 and up on Unix systems</title>
<step>
<para>
PDO is available as a PECL extension from
<ulink url='&url.pecl.package;pdo'>&url.pecl.package;pdo</ulink>.
Installation can be performed via the <command>pear</command> tool; this
is enabled by default when you configure PHP. You should ensure that
PHP was configured --with-zlib in order for
<command>pear</command> to be able to handle the compressed package
files.
</para>
<para>
PDO is available as a PECL extension from
<ulink url='&url.pecl.package;pdo'>&url.pecl.package;pdo</ulink>.
Installation can be performed via the <command>pear</command> tool; this
is enabled by default when you configure PHP. You should ensure that
PHP was configured --with-zlib in order for
<command>pear</command> to be able to handle the compressed package
files.
</para>
</step>
<step>
<para>
Run the following command to download, build, and install the
latest stable version of PDO:
<screen>
<para>
Run the following command to download, build, and install the
latest stable version of PDO:
<screen>
<![CDATA[
pear install pdo
]]>
</screen>
</para>
</screen>
</para>
</step>
<step>
<para>
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.
Instead of running the command above, run the following:
<screen>
<para>
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.
Instead of running the command above, run the following:
<screen>
<![CDATA[
pear install pdo-beta
]]>
</screen>
</para>
</screen>
</para>
</step>
<step>
<para>
The <command>pear</command> command automatically installs the
PDO module into your PHP extensions directory. To enable the
PDO extension on Linux or Unix operating systems, you must add
the following line to &php.ini;:
<screen>
<para>
The <command>pear</command> command automatically installs the
PDO module into your PHP extensions directory. To enable the
PDO extension on Linux or Unix operating systems, you must add
the following line to &php.ini;:
<screen>
<![CDATA[
extension=pdo.so
]]>
</screen>
</para>
</screen>
</para>
</step>
</procedure>
<procedure id='pdo.install.win32php51'>