Re: PEAR installer missing on Windows + PHP 4.3.0 (pear.bat refers to missing file?)
| From: | Peter Zuidhoek | Date: | Mon, 30 Dec 2002 11:21:49 +0000 |
| Subject: | Re: PEAR installer missing on Windows + PHP 4.3.0 (pear.bat refers to missing file?) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11951@lists.php.net to get a copy of this message | ||
Christoph,
None of the empty directories you mention were created. All of the base PEAR
packages, documentation, registry files were created in the right locations
(in my case c:\programs\php\pear and downwards). All that is missing is the
installer. So my question remains.
Peter
"Christoph Grottolo" <cg@gordimer.net> wrote in message
news:20021230032900.28130.qmail@pb1.pair.com...
> Related to Peters post, also 4.3.0 Win32:
>
> go-pear seems to install always to drive c:\, even if there you specify
> another location.
>
> The empty directories
> pear
> pear\data
> pear\docs
> pear\tests
>
> are created in the correct location but the files itself are placed in a
> parallel directory structure on c:\pear instead of e:\pear. Also a
directory
> c:\php_iis is created with the files pear.bat and pear in it.
>
> See the installation output below.
>
> Additionally, there is a disinformation in go-pear output, as there is
> nothing related to PEAR included in the PHP distribution (as of 4.3.0 on
> win32).
>
> Christoph
>
> --------------------
> Installation output:
> --------------------
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> E:\php_iis>cli\php -r
> "readfile('http://go-pear.org/');" | php
> Content-type: text/html; charset=iso-8859-1
> X-Powered-By: PHP/4.3.0
>
> Welcome to go-pear!
>
> Go-pear will install the 'pear' command and all the files needed by
> it. This command is your tool for PEAR installation and maintenance.
>
> Go-pear also lets you download and install the PEAR packages bundled
> with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser.
>
> If you wish to abort, press Control-C now, or press Enter to continue:
>
> HTTP proxy (host:port), or Enter for none:
>
> 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 prefix : c:\php4
> 2. Binaries directory : $prefix
> 3. PHP code directory : $prefix\pear
> 4. Documentation base directory : $php_dir\docs
> 5. Data base directory : $php_dir\data
> 6. Tests base directory : $php_dir\tests
>
> 1-6, 'all' or Enter to continue: 1
>
> [...]
>
> 1. Installation prefix : e:\php_iis
> 2. Binaries directory : $prefix
> 3. PHP code directory : e:\pear
> 4. Documentation base directory : $php_dir\docs
> 5. Data base directory : $php_dir\data
> 6. Tests base directory : $php_dir\tests
>
> 1-6, 'all' or Enter to continue:
>
> The following PEAR packages are bundled with PHP: DB, Net_Socket,
Net_SMTP,
> Mail, XML_Parser.
> Would you like to install these as well? [Y/n] : Y
>
> Downloading package: PEAR.............ok
> Downloading package: Archive_Tar......ok
> Downloading package: Console_Getopt...ok
> Downloading package: XML_RPC..........ok
> Bootstrapping: PEAR...................ok
> Bootstrapping: Archive_Tar............ok
> Bootstrapping: Console_Getopt.........ok
> Downloading package: DB...............ok
> Downloading package: Net_Socket.......ok
> Downloading package: Net_SMTP.........ok
> Downloading package: Mail.............ok
> Downloading package: XML_Parser.......ok
> Extracting installer..................ok
> install ok: PEAR 1.0
> install ok: Archive_Tar 0.9
> install ok: Console_Getopt 1.0
> install ok: XML_RPC 1.0.4
> install ok: DB 1.3
> install ok: Net_Socket 1.0.1
> install ok: Net_SMTP 1.0
> install ok: Mail 1.0.2
> install ok: XML_Parser 1.0
>
>
****************************************************************************
> **
> WARNING! The include_path defined in the currently used php.ini does not
> contain the PEAR PHP directory you just specified. If the specified
> directory is also not in the include_path used by your scripts, you
> will have problems getting any PEAR packages working.
>
> Please look over your php.ini file to make sure
> e:\pear is in your include_path.
> Current include path : .;e:\php\include;e:\php\pear
> Configured directory : e:\pear
> Currently used php.ini (guess) : c:\windows\php.ini
>
> Press Enter to continue:
>
> The 'pear' command is now at your service at e:\php_iis\pear
>
> ** The 'pear' command is not currently in your PATH, so you need to
> ** use 'e:\php_iis\pear' until you have added
> ** 'e:\php_iis' to your PATH environment variable.
>
> Run it without parameters to see the available actions, try 'pear list'
> to see what packages are installed, or 'pear help' for help.
>
> For more information about PEAR, see:
>
> http://pear.php.net/faq.php
>
> http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1
> http://pear.php.net/manual/
>
> Thanks for using go-pear!
>
>
> E:\php_iis>
>
>
>