Windows 2000 Server Install Error. I am Using Apache
| From: | William Martell | Date: | Fri, 02 Jul 2004 15:37:48 +0000 |
| Subject: | Windows 2000 Server Install Error. I am Using Apache | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13463@lists.php.net to get a copy of this message | ||
Hello All,
I am trying to install PEAR and I have tried to use the following methods.
1. I downloaded the go-pear.php, saved it to a file and changed directories to were the file was and
typed php go-pear.php. It gave me some errors.
2. I read some mail postings and saw that PEAR already came with my version of PHP, so I changed
directories to PHP then ran the bat file to install PEAR and got the following error.
Can anyone tell me how to fix this problem... Thanks in advance for your help.
C:\Program Files\PHP>go-pear.bat
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, phpUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (host:port), or Enter for none:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
*WARNING*
We found php.exe under C:\Program Files\PHP\cli\php.exe, it uses an unknown SAPI. PEAR commandline
tool has not been tested with it, if you have a CLI (or CGI) php.exe available,
we strongly 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:\Program Files\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:\Program Files\PHP\cli\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] :
Loading zlib: ok
Using local package: PEAR.............ok
Using local package: Archive_Tar......ok
Using local package: Console_Getopt....ok
Using local package: XML_RPC..........ok
Bootstrapping: PEAR...................(local) ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(local) ok
Using local package: DB...............ok
Using local package: Net_Socket.......ok
Using local package: Net_SMTP.........ok
Using local package: Mail.............ok
Using local package: XML_Parser.......ok
Downloading package: phpUnit..........ok
Extracting installer..................ok
failed to write C:\Program Files\PHP\pear\data\PEAR\.tmppackage.dtd
Press any key to continue . . .
C:\Program Files\PHP>