SV: pear installation
| From: | Markus Bagge | Date: | Wed, 22 Oct 2003 11:07:34 +0000 |
| Subject: | SV: pear installation | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8538@lists.php.net to get a copy of this message | ||
Unfortunately I didn't find go-pear.bat at
http://cvs.php.net/cvs.php/php-src/pear/scripts
. (Hope that was the place
you meant). So I tried the second alternatve. From the Start-menu I chosed
Run and wrote: "C:\apache\php-4.3.3-Win32\cli\php.exe go-pear.php".
(go-pear.php is ver. 1.52). A DOS-prompt window appeared just as fast as it
dissapeared.
The go-pear.bat I use is
<snip>
@ECHO OFF
set PHP_BIN=cli\php.exe
%PHP_BIN% -n -d output_buffering=0 PEAR\go-pear.php
pause
</snip>
So, if I havn't missed anything here, this didn't fix the problem.
Thanks
Markus
>
> Hi Markus,
>
> the go-pear.bat has some bugs in older versions, try retrieving the
> go-pear.bat from cvs.php.net module php-src/pear/scripts/go-pear.bat (I
> think it's there). Or, alternately, run go-pear.php from
> http://pear.php.net/go-pear (save the webpage as go-pear.php,
> and run it
> as cli/php.exe go-pear.php)
>
> The change to go-pear.bat was minimal, and the setting I had to change
> was php -n was used, but -n tells php to ignore any php.ini file. There
> was one other change, I don't recall what it is.
>
> If that doesn't fix it, let us know.
>
> Regards,
> Greg
>
> Markus wrote:
> > I run apache 1.3.14 with PHP 4.3.3 on my win98 machine.
> >
> > When trying to install PEAR by running go-pear.bat I got the following
> > warning:
> > <snip>
> >
> >
> ******************************************************************
> **********
> > **
> > WARNING! The include_path defined in the currently used
> php.ini does not
> > contain the PEAR PHP directory you just specified:
> > <C:\apache\php-4.3.3-Win32\pear>
> > If the specified directory is also not in the include_path used by
> > your scripts, you will have problems getting any PEAR packages working.
> >
> > Current include path : .;c:\php4\pear
> > Configured directory : C:\apache\php-4.3.3-Win32\pear
> > Currently used php.ini (guess) :
> > Press Enter to continue:
> >
> > </snip>
> >
> > It seems it can't find my php.ini file (which do contain
> > C:\apache\php-4.3.3-Win32\pear in the include path!). Why?
> >
> >
> > What am I supposed to do? Any help will be appreciated!
> >
> >
> > Thanks
> > Markus
>
>