cvs: peardoc /en/package/php/php-compatinfo install.xml

From: Date: Sat, 05 Jul 2008 11:34:12 +0000
Subject: cvs: peardoc /en/package/php/php-compatinfo install.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10938@lists.php.net to get a copy of this message
farell Sat Jul 5 11:34:12 2008 UTC Added files: /peardoc/en/package/php/php-compatinfo install.xml Log: on idea and pattern of PHPUnit , how to install PCI (auto and manual) - initial commit http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/install.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/install.xml +++ peardoc/en/package/php/php-compatinfo/install.xml <!-- $Revision: 1.1 $ --> <chapter id="about.install"> <title>Installing PHP_CompatInfo</title> <para> <emphasis role="bold">PHP_CompatInfo</emphasis> (alias PCI) should be installed using the <emphasis role="bold">PEAR Installer</emphasis>. This installer which provides a distribution system for PHP packages and full application, support channels architecture and custom file tasks. Learn more <ulink url="&url.pear.manual;en/guide.migrating.intro.php"> about new features in PEAR 1.4 </ulink> </para> <para> Although using the PEAR Installer is the most easy way to install PCI, you can install PCI manually. For manual installation, do the following: </para> <para> <orderedlist> <listitem> <para> Download the most recent release archive from <ulink url="http://pear.php.net/get/PHP_CompatInfo/"> http://pear.php.net/get/PHP_CompatInfo/ </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Prepare the <literal>pci.bat</literal> script: <note> For windows users only </note> <orderedlist> <listitem> <para> Rename the <literal>compatinfo.bat</literal> script to <literal>pci.bat</literal>. </para> </listitem> <listitem> <para> Replace the <literal>@php_bin@</literal> string in it with the path to your PHP command-line interpreter. Replace also the <literal>@bin_dir@</literal> string in it with the directory where you will put the pci script. </para> </listitem> <listitem> <para> Copy it to a directory that is in your <literal>PATH</literal> </para> </listitem> </orderedlist> </para> </listitem> <listitem> <para> Prepare the <literal>pci</literal> script: <orderedlist> <listitem> <para> Rename the <literal>pci.php</literal> file to <literal>pci</literal>. </para> </listitem> <listitem> <para> Replace the <literal>@php_bin@</literal> string in it with the path to your PHP command-line interpreter (usually <literal>/usr/bin/php</literal>). </para> </listitem> <listitem> <para> Copy it to a directory that is in your <literal>PATH</literal> and make it executable (<command>chmod +x pci</command>), or for windows users copy it to the directory corresponding to <literal>@bin_dir@</literal> string (see previous modification). </para> </listitem> </orderedlist> </para> </listitem> <listitem> <para> Prepare the <literal>html</literal> renderer script (CompatInfo/Renderer/Html.php): <orderedlist> <listitem> <para> Replace the <literal>@data_dir@</literal> string in it with the path where you have extracted the downloaded package. </para> </listitem> <listitem> <para> If you do not move the stylesheet <literal>pci.css</literal> to another location, remove the line with <literal>. '@package_name@' . DIRECTORY_SEPARATOR</literal>. </para> </listitem> </orderedlist> </para> </listitem> <listitem> <para> Download also, release archive of PEAR::Console_Table package version 1.0.5 (or better), from <ulink url="http://pear.php.net/package/Console_Table/download"> http://pear.php.net/package/Console_Table/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Download also, release archive of PEAR::Console_GetArgs package version 1.3.3 (or better), from <ulink url="http://pear.php.net/package/Console_GetArgs/download"> http://pear.php.net/package/Console_GetArgs/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Download also, release archive of PEAR::File_Find package version 1.3.0 (or better), from <ulink url="http://pear.php.net/package/File_Find/download"> http://pear.php.net/package/File_Find/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Download also, release archive of PEAR::Event_Dispatcher package version 1.0.0 (or better), from <ulink url="http://pear.php.net/package/Event_Dispatcher/download"> http://pear.php.net/package/Event_Dispatcher/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Depending of what renderer (XML) you will use, you may also need to download release archive of PEAR::XML_Util package version 1.1.4 (or better), from <ulink url="http://pear.php.net/package/XML_Util/download"> http://pear.php.net/package/XML_Util/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> <listitem> <para> Depending of what renderer (HTML) you will use, you may also need to download release archive of PEAR::HTML_Table package version 1.8.2 (or better), from <ulink url="http://pear.php.net/package/HTML_Table/download"> http://pear.php.net/package/HTML_Table/download </ulink> and extract it to a directory that is listed in the <literal>include_path</literal> of your <literal>php.ini</literal> configuration file. </para> </listitem> </orderedlist> </para> </chapter>

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