Re: PEAR installer problem
| From: | Stig S. Bakken | Date: | Wed, 12 Jun 2002 09:24:17 +0000 |
| Subject: | Re: PEAR installer problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1627@lists.php.net to get a copy of this message | ||
On Tue, 2002-06-11 at 23:20, Bob Bell wrote:
> I'm installing PEAR for the first time on a virtual server on which
> I have limited access. The PEAR installer seems to be hitting an error.
> I've tracked it down to PEAR_INSTALL_DIR being set to
> '/usr/local/lib/php' (which I suppose is PHP_LIBDIR), even though
> I installed PEAR into '/vs3/vs3/macroped/usr/local/lib/php'.
>
> Is this a bug that PEAR_INSTALL_DIR isn't defaulting to where
> I installed PEAR, or I am missing something?
>
> Thanks for your advice.
Hi,
Try setting PEAR's php directory like this:
pear -d php_dir /vs3/vs3/macroped/usr/local/lib/php -s
(-d for defining a user-specific setting, -s to store user settings in
$HOME/.pearrc). If you need to use another location for the rc file,
you must specify it with the -c option.
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb