Installing PEAR on Win Server 2003 R2 craps out

From: Date: Fri, 21 Sep 2007 21:04:22 +0000
Subject: Installing PEAR on Win Server 2003 R2 craps out
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27962@lists.php.net to get a copy of this message
I've installed PHP 5.2.3 on my server running Windows Server 2003 R2, using ISAPI in IIS6. It is working well. Now I am trying to install PEAR. I have run go-pear.bat, I have downloaded http://go-pear.org as go-pear.php and run it with 'php go-pear.php', and I have downloaded http://pear.php.net/go-pear.phar and replaced the one in my PHP PEAR folder and then run both of the above scripts. The results are the same each time: ----------------------------------------------- C:\PHP>php go-pear.php 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: MDB2. 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:: 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. Temporary files directory : $prefix\temp 8. php.exe path : c:\php\php.exe 1-8, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: MDB2. Would you like to install these as well? [Y/n] : Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: Structures_Graph-stable....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: MDB2.............ok Extracting installer..................ok C:\PHP> ----------------------------------------------- So it craps out after unpacking an installer? What I am left with after this is this: -There is no PEAR_ENV.reg file in C:\PHP, where the doco states it would be -In C:\PHP\PEAR are 3 new directories (data, docs and tests), all empty. -In C:\PHP\temp\gop310E.tmp (the directory name changes, but always starts with gop), there are several directories (Archive, Console, docs, OS, PEAR, scripts, Structures, tests) and a bunch of files, some of which are *.tgz archives and some of which are *.sh scripts. I don't know for sure, but that looks to me like it is downloading a *nix version of PEAR and not the Windows version? Maybe? Maybe not? Maybe it is crapping out because it can't run *.sh files? Is this a bug? Is this reproducible by others? Does anyone know how I can get PEAR installed properly? Please help. Dan Horne CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. SPAM-FREE 1.0(2476)

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