Re: go-pear.phar file

From: Date: Tue, 15 Mar 2011 14:48:01 +0000
Subject: Re: go-pear.phar file
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31015@lists.php.net to get a copy of this message
On 15 March 2011 14:02, Alejandro Crosa <alecros@ymail.com> wrote: > Richard >            I am in the oficial web reading how update the insalation....I must save > the go-pear.phar file in local folder...wich extension must be? and wich folder is properly? > I can save it as .php? > The folder can be C:\pearfar? > After this I continue with the explication..... > > Thanks > > Alejandro > > > The file's extension is .phar .phar is a file format supported by PHP. Like .php Save it in your C:\PHP5 directory (or C:\PHP if that is where you have your PHP installation). Here is my output (I've just built a blank install so just added PEAR). [2011-03-15 14:43:38] [C:\PHP5] [] >go-pear.bat Are you installing a system-wide PEAR or a local copy? (system|local) [system] : Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix) : C:\PHP5 2. Temporary directory for processing : C:\PHP5\tmp 3. Temporary directory for downloads : C:\PHP5\tmp 4. Binaries directory : C:\PHP5 5. PHP code directory ($php_dir) : C:\PHP5\pear 6. Documentation directory : C:\PHP5\docs 7. Data directory : C:\PHP5\data 8. User-modifiable configuration files directory : C:\PHP5\cfg 9. Public Web Files directory : C:\PHP5\www 10. Tests directory : C:\PHP5\tests 11. Name of configuration file : C:\WINDOWS\pear.ini 12. Path to CLI php.exe : C:\PHP5 1-12, 'all' or Enter to continue: 11 (Use $prefix as a shortcut for 'C:\PHP5', etc.) Name of configuration file [C:\WINDOWS\pear.ini] : D:\PHP\INI\pear.ini Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix) : C:\PHP5 2. Temporary directory for processing : C:\PHP5\tmp 3. Temporary directory for downloads : C:\PHP5\tmp 4. Binaries directory : C:\PHP5 5. PHP code directory ($php_dir) : C:\PHP5\pear 6. Documentation directory : C:\PHP5\docs 7. Data directory : C:\PHP5\data 8. User-modifiable configuration files directory : C:\PHP5\cfg 9. Public Web Files directory : C:\PHP5\www 10. Tests directory : C:\PHP5\tests 11. Name of configuration file : D:\PHP\INI\pear.ini 12. Path to CLI php.exe : C:\PHP5 1-12, 'all' or Enter to continue: Beginning install... Configuration written to D:\PHP\INI\pear.ini... Initialized registry... Preparing to install... installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar... installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar... installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.1.tar... installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.3.tar... installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar... install ok: channel://pear.php.net/Archive_Tar-1.3.7 install ok: channel://pear.php.net/Console_Getopt-1.2.3 install ok: channel://pear.php.net/Structures_Graph-1.0.3 install ok: channel://pear.php.net/XML_Util-1.2.1 install ok: channel://pear.php.net/PEAR-1.9.1 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer) PEAR: To install optional features use "pear install pear/PEAR#featurename" ****************************************************************************** WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: <C:\PHP5\pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. Would you like to alter php.ini <D:\PHP\INI\V5.3.6\php-cli.ini>? [Y/n] : y php.ini <D:\PHP\INI\V5.3.6\php-cli.ini> include_path updated. Current include path : D:\PHP\Includes Configured directory : C:\PHP5\pear Currently used php.ini (guess) : D:\PHP\INI\V5.3.6\php-cli.ini Press Enter to continue: ** WARNING! Old version found at C:\PHP5, please remove it or be sure to use the new c:\php5\pear.bat command The 'pear' command is now at your service at c:\php5\pear.bat * WINDOWS ENVIRONMENT VARIABLES * For convenience, a REG file is available under C:\PHP5PEAR_ENV.reg . This file creates ENV variables for the current user. Double-click this file to add it to the current user registry. Press any key to continue . . . -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.pear.general (#31015) next »