PEAR Windows Installation problem
| From: | Brent O'Connor | Date: | Tue, 01 Mar 2005 17:33:13 +0000 |
| Subject: | PEAR Windows Installation problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17762@lists.php.net to get a copy of this message | ||
When I try to install the PEAR windows package manager I get some errors
when it's about done... The following is the screen out put is from the
windows command line. I didn't have this problem on my Linux boxes. :) The
server is a Windows 2003 server. Any help is greatly apprishated!
C:\PHP>php go-pear.php
Content-type: text/html
X-Powered-By: PHP/4.3.8
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.
Use 'php go-pear.php local' to install a local copy of PEAR.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::
*NOTICE*
We found php.exe under C:\PHP\php.exe, it uses a cgi SAPI. PEAR commandline
tool works well with it, if you have a CLI php.exe available, we
recommand to use it.
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:\PHP
2. Binaries directory : $prefix
3. PHP code directory ($php_dir) : $prefix\pear
4. Documentation base directory : $php_dir\docs
5. Data base directory : $php_dir\data
6. Tests base directory : $php_dir\tests
7. php.exe path : C:\PHP\php.exe
1-7, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, PHPUnit.
Would you like to install these as well? [Y/n] : n
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: XML_RPC-stable....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Extracting installer..................ok
Warning: main(PEAR/Config.php): failed to open stream: No such file or
directory
in C:\PHP\go-pear.php on line 684
Warning: main(): Failed opening 'PEAR/Config.php' for inclusion
(include_path='C
:/DOCUME~1/brento/LOCALS~1/Temp/3/gop49.tmp') in C:\PHP\go-pear.php on line
684
Warning: main(PEAR/Command.php): failed to open stream: No such file or
director
y in C:\PHP\go-pear.php on line 685
Warning: main(): Failed opening 'PEAR/Command.php' for inclusion
(include_path='
C:/DOCUME~1/brento/LOCALS~1/Temp/3/gop49.tmp') in C:\PHP\go-pear.php on line
685
Warning: main(PEAR/Registry.php): failed to open stream: No such file or
directo
ry in C:\PHP\go-pear.php on line 686
Warning: main(): Failed opening 'PEAR/Registry.php' for inclusion
(include_path=
'C:/DOCUME~1/brento/LOCALS~1/Temp/3/gop49.tmp') in C:\PHP\go-pear.php on
line 68
6
Fatal error: Undefined class name 'pear_config' in C:\PHP\go-pear.php on
line 69
1
Respectfully,
Brent O'Connor