Replace old PEAR install commands with PECL

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275165 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Matt Li 2009-02-04 11:16:07 +00:00
parent 942b923fb4
commit 486a6e96bb
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<section xml:id="ssh2.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<simpara>
@ -44,7 +44,7 @@ extension=php_ssh2.dll
<listitem>
<simpara>
Run the pear installer for PECL/ssh2: <literal>pear install ssh2</literal>
Run the pecl installer for PECL/ssh2: <literal>pecl install ssh2</literal>
</simpara>
</listitem>
@ -75,14 +75,14 @@ extension=php_ssh2.dll
<simpara>
There are currently no <literal>stable</literal> versions of PECL/ssh2,
to force installation of the <literal>beta</literal> version of PECL/ssh2
execute: <literal>pear install ssh2-</literal><emphasis>beta</emphasis>
execute: <literal>pecl install ssh2-</literal><emphasis>beta</emphasis>
</simpara>
</note>
<tip>
<title>Compiling PECL/ssh2 without using the PEAR command</title>
<title>Compiling PECL/ssh2 without using the PECL command</title>
<simpara>
Rather than using <literal>pear install ssh2</literal> to automatically
Rather than using <literal>pecl install ssh2</literal> to automatically
download and install PECL/ssh2, you may download the tarball from
<link xlink:href="&url.pecl.package;ssh2">PECL</link>.
From the root of the unpacked tarball, run:

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<section xml:id="tcpwrap.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>
@ -7,9 +7,9 @@
<link xlink:href="&url.pecl.package;tcpwrap">&url.pecl.package;tcpwrap</link>.
</para>
<para>
If <link xlink:href="&url.php.pear;">PEAR</link> is available on your *nix-like
system you can use the pear installer to install the tcpwrap extension, by the
following command: <command>pear -v install tcpwrap</command>.
If <link xlink:href="&url.pecl;">PECL</link> is available on your system
you can use the pecl installer to install the tcpwrap extension, by the
following command: <command>pecl install tcpwrap</command>.
</para>
<para>
You can always download the tar.gz package and install tcpwrap by hand: