cvs: peardoc /en/guide/users/installation shared.xml
| From: | Brett Bieber | Date: | Mon, 16 Jun 2008 15:11:00 +0000 |
| Subject: | cvs: peardoc /en/guide/users/installation shared.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10883@lists.php.net to get a copy of this message | ||
saltybeagle Mon Jun 16 15:11:00 2008 UTC
Modified files:
/peardoc/en/guide/users/installation shared.xml
Log:
Re-arrange so instructions for the recent pear version are first--- I'm almost ready to drop
the old instructions and just say 'upgrade pear first' - I'll leave as is for now,
but if anyone agrees, we can archive this info and update the instructions. I think having the old
info out there only causes confusion and is helpful to very few users if any.
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/users/installation/shared.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/guide/users/installation/shared.xml
diff -u peardoc/en/guide/users/installation/shared.xml:1.2
peardoc/en/guide/users/installation/shared.xml:1.3
--- peardoc/en/guide/users/installation/shared.xml:1.2 Fri Apr 4 22:34:33 2008
+++ peardoc/en/guide/users/installation/shared.xml Mon Jun 16 15:11:00 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="installation.shared">
<title>Installation of a local PEAR copy on a shared host</title>
@@ -15,17 +15,6 @@
To install PEAR through SSH, you can use this command sequence to set up a local copy of PEAR:
</para>
<para>
- PEAR 1.3.5 and earlier
- <screen>
- <userinput>
-$ pear -s -c ~/.pearrc -d doc_dir=~/pear/docs \
- -d ext_dir=~/pear/ext -d php_dir=~/pear/lib \
- -d data_dir=~/pear/data -d test_dir=~/pear/tests \
- -d cache_dir=~/pear/cache -d bin_dir=~/pear/bin
- </userinput>
- </screen>
- </para>
- <para>
PEAR 1.4+
<screen>
<userinput>
@@ -41,10 +30,13 @@
(or whatever your startup file is), and run the command:
</para>
<para>
- PEAR 1.3.2 and older
+ PEAR 1.3.5 and earlier
<screen>
<userinput>
-$ pear -c ~/.pearrc install Archive_Tar PEAR Console_Getopt XML_RPC
+$ pear -s -c ~/.pearrc -d doc_dir=~/pear/docs \
+ -d ext_dir=~/pear/ext -d php_dir=~/pear/lib \
+ -d data_dir=~/pear/data -d test_dir=~/pear/tests \
+ -d cache_dir=~/pear/cache -d bin_dir=~/pear/bin
</userinput>
</screen>
</para>
@@ -57,6 +49,14 @@
</screen>
</para>
<para>
+ PEAR 1.3.2 and older
+ <screen>
+ <userinput>
+$ pear -c ~/.pearrc install Archive_Tar PEAR Console_Getopt XML_RPC
+ </userinput>
+ </screen>
+ </para>
+ <para>
This will create a directory structure based on a subdirectory of your home directory
named <filename>pear</filename> that contains all of the packages that you
install.
You will have a local version of PEAR that supersedes the system's copy. To use the
files you have installed,