Re: pear installation

From: Date: Wed, 22 Oct 2003 04:27:33 +0000
Subject: Re: pear installation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8530@lists.php.net to get a copy of this message
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


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