Re: PEAR refuses to install to specified directory... Ignores specified directory
| From: | Tony Bibbs | Date: | Thu, 06 Feb 2003 19:47:53 +0000 |
| Subject: | Re: PEAR refuses to install to specified directory... Ignores specified directory | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3634@lists.php.net to get a copy of this message | ||
Use the pear command line by typing "pear config-show"
that will tell you where it is trying to install pear packages. To fix
type just "pear" and it will print the available commands...pay particular
attention to the config* ones.
--Tony
On Thu, 6 Feb 2003, Daniel Joyce wrote:
> I've gone into my php.ini in c:\winnt\ and changed the include path to...
>
> include_path = "D:\PHP\includes;D:\PHP\pear"
>
> Yet, when I run...
>
> D:\PHP\cli>php -n -r "include
> 'http://go-pear.org';"
>
> It asks me to tell it the base dir...
>
> So I say d:\PHP
>
> Then it installs, and says it installed to d:\PHP
>
> But it prints out the following....
>
> ******************************************************************************
> WARNING! The include_path defined in the currently used php.ini does not
> contain the PEAR PHP directory you just specified. If the specified
> directory is also not in the include_path used by your scripts, you
> will have problems getting any PEAR packages working.
>
> Please look over your php.ini file to make sure
> d:\PHP\pear is in your include_path.
> Current include path : .;c:\php4\pear
> Configured directory : d:\PHP\pear
> Currently used php.ini (guess) : c:\winnt\php.ini
>
> Press Enter to continue:
>
> The 'pear' command is now at your service at d:\PHP\pear
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
>
> And when I check, the damn thing installed to C:\PHP\pear and not
> d:\PHP\pear. I've even tried using "d:\\PHP" as the path, as sometimes
> '\' in the path confuses PHP.
>
> My PHP.INI is set up correctly, so why the heck is PEAR ignoring it, and
> ignoring what I tell it to do?
>
> ( My include path is set up correctly too, else the relative path
> includes I'm using in PHP pages would not work.... )
>
> -Daniel
>
>
>
--
------------------------------------------------------------------------|
Tony Bibbs | "I guess you have to remember that those who don't |
tony@tonybibbs.com | hunt or fish often see those of us who do as |
| harmlessly strange and sort of amusing. When you |
| think about it, that might be a fair assessment." |
| --Unknown |
------------------------------------------------------------------------|