RE: [PEAR-DEV] pear commad under win
| From: | LIMBOURG Arnaud | Date: | Mon, 30 Sep 2002 13:38:55 +0000 |
| Subject: | RE: [PEAR-DEV] pear commad under win | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9715@lists.php.net to get a copy of this message | ||
> this demonstrates the problem we all have under windows when
> php is not
> installed under c:\php4 !
> because the default settings of pear use the PHP constants
> predefined during
> the build.
> so the best you can do to prevent pear from thinking that it
> is installed
> under c:\php4 is to update the config.
> but in then pear will have to store your settings somewhere
> ... and it will
> choose c:\php4\pear.ini !
> I think the best thing could be to load pear.ini from the
> current directory,
> and then, if the file doesn't exist, try to look in some
> default place ...
As i point out, only c:\php4\pear\tests was created. (nothing else, no
pear\scripts nor pear\data ...)
pear.ini is found under c:\winnt on my win box.
But there is a problem indeed ;) I'm just not sure how to solve it best.
Arnaud.