cvs: peardoc /en/chapters installation.xml

From: Date: Sat, 02 Nov 2002 15:55:05 +0000
Subject: cvs: peardoc /en/chapters installation.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7263@lists.php.net to get a copy of this message
mj Sat Nov 2 10:55:05 2002 EDT Modified files: /peardoc/en/chapters installation.xml Log: * Rephrase some passages. * s/Web installer/Command line installer/ Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.10 peardoc/en/chapters/installation.xml:1.11 --- peardoc/en/chapters/installation.xml:1.10 Mon May 27 13:14:59 2002 +++ peardoc/en/chapters/installation.xml Sat Nov 2 10:55:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -31,6 +31,7 @@ <filename>./configure</filename> flag '--without-pear'. </para> <para> +<!-- If you are using a version of PHP that is pretty old, PEAR will not work. You are strongly encouraged to update your installation! If you don't do so, you risk that your server will be hacked by @@ -56,32 +57,37 @@ way is for the gurus amongst you that love to poke around with CVS clients or want to use the latest development versions of a package. - </para> +--> + The packages that are not part of the PFC can be installed with the PEAR + package manager. The manager is comparable to Debian's + <quote>apt-get</quote>. Again: If you are running a recent version of PHP + (&gt; 4.3.0pre1) you can skip the next paragraph. If you running PHP 4.2.* + or earlier, you need to manually install the manager.</para> <para> Apart from installing packages, the PEAR package manager also handles some other tasks: It can create new packages on your machine, manage a registry of installed packages, check - dependencies and it can interact with an XML-RPC service on the - PEAR server, to serve some other tasks. + dependencies and it can interact with an XML-RPC service on + pear.php.net to serve some other tasks. </para> </sect1> <sect1 id="installation.getting"> <title>Getting the PEAR package manager</title> <simpara> - Until all remaining issues concering the final version will be - raised out, we provide a provisional way to install the PEAR + For all of you that are not using the latest version of PHP + (&gt; 4.3.0pre1) we provide a provisional way to install the PEAR package manager that is described on this page. </simpara> <simpara> - Right now you can use a shell script that resides on the - pear.php.net website to install the PEAR base classes and the - PEAR package manager. Simply run + Right now you can use a shell script that resides on go-pear.org + to install the PEAR base classes and the PEAR package manager. + Simply run </simpara> <para> <screen> <userinput> -&dollar; lynx -source http://pear.php.net/go-pear | sh +&dollar; lynx -source http://go-pear.org | php </userinput> </screen> </para> @@ -96,87 +102,10 @@ for you, you need to change the above line correspondingly. </para> </note> -<!-- [mj]: Uncommented since we prefer get-pear for now - <para> - To use the PEAR package manager, your system has to fulfill the - following requirements: - <itemizedlist> - <listitem> - <simpara> - PHP 4 Interpreter (CGI-Version) has to available - </simpara> - </listitem> - <listitem> - <simpara> - The PEAR files from php4/pear/ CVS have to be installed - </simpara> - </listitem> - <listitem> - <simpara> - Archive/Tar.php has to be copied manually if it does not - exist - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - Installation of the CGI version of PHP is well documented in the - <ulink url="http://php.net/manual/en/installation.php">PHP manual, - chapter 2</ulink>. We will not cover it here again. - </para> - <para> - Now you have to get the latest version of the PEAR package manager - from CVS: - </para> - <para> - <screen> - <userinput> -&dollar; cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository login -Password: [use "phpfi" as password] -cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository co php4/pear - </userinput> - </screen> - </para> - <para> - You now have a directory <filename>php4/pear</filename> - on your system. The subdirectory <filename>php4/pear/scripts - </filename> contains the PEAR package manager. - </para> - <para> - Basically the PEAR package manager consists of two different - scripts: <filename>pear</filename> is the script that is used to - create new packages you want to share with the PEAR community, - to show some configuration etc. <filename>pear-get</filename> is - used to install and upgrade PEAR packages on your system. To - install both this files on your system, simply run the following - lines from <filename>php4/pear</filename>: - </para> - <para> - <screen> - <userinput> -&dollar; make scripts/pear scripts/pear-get -&dollar; make install-programs bin_SCRIPTS='pear pear-get' - </userinput> - </screen> - </para> - <para> - Now you need to adjust some settings in the two files you copied - in the previous step: Go to <filename>/usr/local/bin</filename> - and change the first line (#!@prefix@/bin/php -Cq) in both files - so that it points to the correct path for the PHP CGI interpreter - (e.g. #!/usr/local/bin/php -Cq). - </para> - <para> - Now you should be finished with setting up the PEAR package - manager - Happy installing. If you have still problems with it, - don't be afraid to <ulink url="mailto:&email.pear.dev;">drop us a - note</ulink>. - </para> ---> </sect1> - - <sect1 id="installation.web"> - <title>Web installer</title> + <sect1 id="installation.cli"> + <title>Command line installer</title> + <titleabbrev>CLI installer</titleabbrev> <para> <warning id="installation.web.prerequesite"> <title>Prerequesites</title> @@ -188,30 +117,21 @@ </warning> </para> <para> - The web installer is the easiest way to install PEAR packages on - your system: It connects to the PEAR package server via a simple - HTTP connection, loads the package on your system and installs - it in the desired location. + The command line installer is the easiest way to install PEAR + packages on your system: It connects to the PEAR package server + via a simple HTTP connection, loads the package on your system + and installs it in the desired location. </para> - <note> - <simpara> - We do not sell your IP adress, your hostname or something else - we can determine, while you are downloading a package from the - PEAR server, to any bad guy, who want's to make money with your - personal information. - </simpara> - </note> - <sect2> <title>Fully-automatic installation</title> <para> - Using the web installer is pretty straightforward and easy to - use. Simply run the following line on your shell: + Using the command line installer is pretty straightforward and + easy to use. Simply run the following line on your shell: </para> <para> <screen> <userinput> -&dollar; pear install http://pear.php.net/get/&lt;package&gt; +&dollar; pear install &lt;package&gt; </userinput> </screen> </para> @@ -231,7 +151,7 @@ </para> <para> This command returns a list of all packages that are available in - PEAR. + PEAR at the moment. </para> </sect2> @@ -264,7 +184,8 @@ <title>CVS installer</title> <para> - This passage has not been written yet. + This passage will describe how you install the latest development + version of a PEAR package from CVS. </para> </sect1>

« previous php.pear.cvs (#7263) next »