Re: Re: installed pear on LAMP hosting account fine - can not install package
| From: | Klaus Guenther | 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:$ find /usr |grep pear |less That way you may find it if it was installed in an odd location. hth KlausStowe Spivey wrote: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 directoryI installed it successfully several weeks ago and verified itdoes 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 pearcommand 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 meanit think it installed it on a windows machine? noWhat 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