Re: installing pear on windows
| From: | Stefan H | Date: | Fri, 21 Feb 2003 13:32:23 +0000 |
| Subject: | Re: installing pear on windows | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3885@lists.php.net to get a copy of this message | ||
Hello,
Unfortunately I got the following errors:
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.............download of
http://pear.php.net/get/PEAR f
ailed: The operation completed successfully.
(0)
Warning: opendir(C:\WINDOWS\TEMP\gop9242.TMP)
[http://www.php.net/function.opend
ir]: failed to open dir: Invalid argument in C:\Program
Files\PHP\go-pear.php on
line 603
Warning: readdir(): supplied argument is not a valid Directory resource in
C:\Pr
ogram Files\PHP\go-pear.php on line 604
Warning: closedir(): supplied argument is not a valid Directory resource in
C:\P
rogram Files\PHP\go-pear.php on line 615
Warning: rmdir(C:\WINDOWS\TEMP\gop9242.TMP)
[http://www.php.net/function.rmdir]:
No such file or directory in C:\Program Files\PHP\go-pear.php on line 616
What should I do ? I got the php installed in c:\program files\php .
Thank you,
Stefan H
"Robert Janeczek" <rashid@ds.pg.gda.pl> wrote in message
news:20030221122239.76840.qmail@pb1.pair.com...
> > Hello,
> >
> > You can try the go-pear.org script by saving it on your disk and running
> it
> > with
php go-pear and report here (and please do, failure
> > or success ;)
>
> installing pear on windows - report :)
>
> http://go-pear.org - save as... something.
> $phppath\cli\php.exe something
>
> i changed all paths, because i have pretty weird directories layout, which
i
> will explain here to make rest of my post clear:
> php base dir: d:\web\php
> pear base dir: d:\web\pear (outside php tree)
>
> my go-pear settings:
>
> 1. Installation prefix : d:\web
> 2. Binaries directory : d:\web\pear\bin
> 3. PHP code directory : $prefix\pear
> 4. Documentation base directory : d:\web\pear\docs
> 5. Data base directory : d:\web\pear\data
> 6. Tests base directory : d:\web\pear\tests
>
> as far as i see go-pear ignores drive letter changes in $prefix. it
installs
> all packages to c:\web\pear and the dirs:
> registry, bin, data, docs, tests and files .filemap and .lock to
> d:\web\pear. something is not well in this :)
>
> most important part of output:
> pear command is now ..... d:\web\pear\bin\pear [hmmm.... no it isn`t!]
>
> during another tries most succesfull was 'idiot test' - enter, enter,
> enter... everything was where it suposed to be. with one simple 'but':
> pear.bat contained:
> set PHP_BIN=@php_bin@
> set BIN_DIR=@bin_dir@
> set PEAR_PATH=@include_path@
>
> should it be so, or should it be set by installer?
>
> if you have more questions or need a guinea pig for tests, i`m your man :]
>
> rash
>
>