cvs: peardoc /en/chapters installation.xml

From: Date: Wed, 25 Jan 2006 14:39:29 +0000
Subject: cvs: peardoc /en/chapters installation.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7452@lists.php.net to get a copy of this message
alexmerz Wed Jan 25 14:39:29 2006 UTC Modified files: /peardoc/en/chapters installation.xml Log: removed the part about manual installation, because this will not work today http://cvs.php.net/viewcvs.cgi/peardoc/en/chapters/installation.xml?r1=1.37&r2=1.38&diff_format=u Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.37 peardoc/en/chapters/installation.xml:1.38 --- peardoc/en/chapters/installation.xml:1.37 Mon Jan 2 00:10:57 2006 +++ peardoc/en/chapters/installation.xml Wed Jan 25 14:39:29 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.37 $ --> +<!-- $Revision: 1.38 $ --> <chapter id="installation"> <chapterinfo> <author> @@ -916,94 +916,22 @@ <sect1 id="installation.manually"> <title>Manual installation</title> - - <para> - Installing packages manually is no recommended way, but a lot of - people run into problems using the automated ways, when their - sites are located in web hosting environments with no shell access. - </para> - <para> - In the following paragraphs, we will demonstrate how to install - packages manually on a site with the following path scheme: - The document root of the site is - <filename>/var/www/www.example.com/htdocs/</filename>. On the same - level than <filename>htdocs</filename> there is another directory - called <filename>includes</filename>. This directory can not be - accessed via <acronym>HTTP</acronym> but via <acronym>FTP</acronym> - or WebDAV. - </para> - <para> - The installation consists of some easy to follow steps: - <orderedlist> - <listitem> - <simpara> - Download the package: - </simpara> - <para> - You can download the package from the - <ulink url="&url.pear;">PEAR homepage</ulink> with your web - browser. If you do not know the <acronym>URL</acronym> of the - package information page for the package, you can use the <ulink - url="&url.pear.package.browse;">package browser</ulink> - to view the currently available packages. - </para> - </listitem> - <listitem> - <simpara> - Upload the package source code - </simpara> - <para> - After having downloaded the .tgz file of the package, you have - to extract the contents of the archive file to a temporary - directory on your local machine. After that you must upload the - source code via <acronym>FTP</acronym>, WebDAV or another method - to the directory - <filename>/var/www/www.example.com/includes/</filename>, so that - the source code for Mail_Mime now e.g. resides in - <filename>/var/www/www.example.com/includes/Mail/</filename>. - </para> - </listitem> - <listitem> - <simpara> - Adjust your include_path directive. - </simpara> - <para> - Now you have to adjust PHP's include_path directive so that it - contains the location where you just uploaded the source code. If - you have access to the <filename>php.ini</filename> configuration - file for your site, you have to add - <filename>/var/www/www.example.com/includes/</filename> to the - directive there. If you do not have access to the configuration, - you have to set the include_path in each script where you want - to use the package: - </para> - <para> - <programlisting role="php"> -ini_set("include_path", '/var/www/www.example.com/includes/' . PATH_SEPARATOR . ini_get("include_path")); - </programlisting> - </para> - </listitem> - <listitem> - <simpara> - After having finished the installation, you can now make use of - the package: - </simpara> - <para> - <programlisting role="php"> -require_once 'Mail/mime.php'; - -$mime = ... - </programlisting> - </para> - </listitem> - </orderedlist> - </para> - <para> - If you have more questions concerning manual installation, you can ask - on the - <ulink url="mailto:&email.pear.general;">user mailing list</ulink>. - </para> - + <warning> + <para> + We removed this section, because, today, manually installing a package + requires a deeper understanding + of the way how packages are organized and what happens during + the installation process. + You should read the section about the <filename>package.xml</filename> + in the Developers Guide (<xref linkend="developers.packagedef"/> and + <xref linkend="guide.developers.package2"/>), if you really + want install a package without the PEAR installer. + </para> + <para> + If you want to install PEAR on a remote host without shell access, + you should look into <xref linkend="installation.shared"/>. + </para> + </warning> </sect1> <sect1 id="installation.cvs">

« previous php.pear.doc (#7452) next »