Re: pear installation on php4.30 && windows
| From: | Felix Zaslavskiy | Date: | Sat, 11 Jan 2003 23:23:10 +0000 |
| Subject: | Re: pear installation on php4.30 && windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3246@lists.php.net to get a copy of this message | ||
This is from Peter Zuidhoek post who seems to have found a workaround
to this problem or installing pear on win with php4.3. reference
news.php.net php.pear.dev:11959
Peter Zuidhoek Wrote:
To all those interested:
I got the installer working after I
1) Created the directory C:\Programs\PHP\pear\scripts
(C:\Programs\PHP is my PHP installation path.)
2) Copied the file scripts\pear.in from the PEAR 1.0 package tar-file
(PEAR-1[1].0.tar.gz) to this C:\Programs\PHP\pear\scripts and renamed a copy
of this file to "pear".
3) Copied the file scripts\pear.bat from the PEAR 1.0 package tar-file to
the directory C:\Programs\PHP and adapted the following lines:
set PHP_BIN=c:\programs\php\cli\php.exe
set BIN_DIR=c:\programs\php\pear\scripts
set PEAR_PATH=c:\programs\php\pear
%PHP_BIN% -C -d output_buffer=1 -d include_path=%PEAR_PATH% -f
%BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9
4) The installer works! Both
pear list
and
pear search Auth
produced plausible output.
5) From the output of
pear config-show
I could see that php_bin was still pointing to c:\php4\php.exe. I changed
this with:
pear config-set php_bin c:\programs\php\cli\php.exe
The other settings seemed OK.
"Ian Merkel" <php_developer@amerkel.org> wrote in message
news:004a01c2b920$7445aad0$0400a8c0@pious...
> hi all... i've just installed php4.3 on my winxp box, and i'm having the
> worst possible time trying to get pear to work on my box... i'm following
> the instructions on the comments of http://go-pear.org, and as
> of yet,
> nothing works... as it is, i can't even get pear.bat to work, despite
> plugging in the paths as it requires... can anyone give me some insight on
> how to get pear working...
>
> tia
> ian!
>
>