svn: /pear/peardoc/trunk/en/guide/users/installation/ getting.xml
[email protected] (Brett Bieber)
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Thu, 12 Nov 2009 14:28:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290577
Log:
Remove sudo usage, add a note about why sudo is used, recommend it only for advanced users.
Changed paths:
U pear/peardoc/trunk/en/guide/users/installation/getting.xml
Modified: pear/peardoc/trunk/en/guide/users/installation/getting.xml
===================================================================
--- pear/peardoc/trunk/en/guide/users/installation/getting.xml 2009-11-12 11:58:13 UTC (rev 290576)
+++ pear/peardoc/trunk/en/guide/users/installation/getting.xml 2009-11-12 14:28:14 UTC (rev 290577)
@@ -125,7 +125,7 @@
or re-install the PEAR Package Manager use the following command:
<screen>
<userinput>
-$ curl &url.pear.go; | sudo php
+$ curl &url.pear.go; | php
</userinput>
</screen>
</para>
@@ -139,6 +139,16 @@
</userinput>
</screen>
</para>
+ <para>
+ For a system-wide installation, you will need to execute the go-pear
+ script with increased permissions. This is only recommended for advanced
+ users.
+ <screen>
+ <userinput>
+$ curl &url.pear.go; | sudo php
+ </userinput>
+ </screen>
+ </para>
</note>
<para>