Re: installing pear on windows
| From: | Robert Janeczek | Date: | Fri, 21 Feb 2003 12:23:18 +0000 |
| Subject: | Re: installing pear on windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3882@lists.php.net to get a copy of this message | ||
> 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