Re: Re: installed pear on LAMP hosting account fine - can not install package

From: Date: Tue, 12 Oct 2004 12:13:15 +0000
Subject: Re: Re: installed pear on LAMP hosting account fine - can not install package
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14871@lists.php.net to get a copy of this message
Stowe Spivey wrote:
--- Greg Beaver <cellog@php.net> wrote:
Stowe Spivey wrote:
I installed it successfully several weeks ago and verified it
does work. I can reference it in my php code and it works.
Now I want to add some packages and I can't execute the pear
command from anywhere in the directory structure.
The structure is something like this, /usr/local/other/pear/. Under /pear I found a file called, ".registry". Does that mean
it think it installed it on a windows machine? no
What do I do to get to a point where I can install additional packages?
$ pear when you run the above command, what do you see? The pear command should be in your path. If not, type in the full path $ /usr/local/pear Or wherever it is installed. Greg
Here's what it looks like when I try: $ pear /usr/local/bin/pear: /usr/local/bin/php: No such file or directory /usr/local/bin/pear: exec: /usr/local/bin/php: cannot execute: No such file or directory $ /usr/local/other/pear sh: /usr/local/other/pear: is a directory $ usr/local/other/pear/bin/pear sh: usr/local/other/pear/bin/pear: No such file or directory
$ find /usr |grep pear |less That way you may find it if it was installed in an odd location. hth Klaus

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