PEAR refuses to install to specified directory... Ignores specified directory
| From: | Daniel Joyce | Date: | Thu, 06 Feb 2003 19:07:33 +0000 |
| Subject: | PEAR refuses to install to specified directory... Ignores specified directory | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3631@lists.php.net to get a copy of this message | ||
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\pearCurrently 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.