mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Procedures need steps -- will follow up with a whitespace fix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195603 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6eddb718e8
commit
f52cb08996
1 changed files with 15 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.31 $ -->
|
||||
<!-- $Revision: 1.32 $ -->
|
||||
<!-- Purpose: database.abstract -->
|
||||
<!-- Membership: pecl, bundled -->
|
||||
<!-- State:experimental -->
|
||||
|
@ -31,6 +31,7 @@
|
|||
&reftitle.install;
|
||||
<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
|
||||
|
@ -47,6 +48,8 @@
|
|||
]]>
|
||||
</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.
|
||||
|
@ -60,6 +63,8 @@ extension=pdo.so
|
|||
]]>
|
||||
</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
|
||||
|
@ -67,9 +72,11 @@ extension=pdo.so
|
|||
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>.
|
||||
|
@ -79,6 +86,8 @@ extension=pdo.so
|
|||
<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:
|
||||
|
@ -88,6 +97,8 @@ pear install pdo
|
|||
]]>
|
||||
</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.
|
||||
|
@ -98,6 +109,8 @@ pear install pdo-beta
|
|||
]]>
|
||||
</screen>
|
||||
</para>
|
||||
</step>
|
||||
<step>
|
||||
<para>
|
||||
The <command>pear</command> command automatically installs the
|
||||
PDO module into your PHP extensions directory. To enable the
|
||||
|
@ -109,6 +122,7 @@ extension=pdo.so
|
|||
]]>
|
||||
</screen>
|
||||
</para>
|
||||
</step>
|
||||
</procedure>
|
||||
<procedure id='pdo.install.win32php51'>
|
||||
<title>Windows users running PHP 5.1 and up</title>
|
||||
|
|
Loading…
Reference in a new issue