Re: Re: "need to install the XML_RPC package"? It's installed!?
| From: | Steven | Date: | Fri, 29 Oct 2004 06:27:51 +0000 |
| Subject: | Re: Re: "need to install the XML_RPC package"? It's installed!? | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15213@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
> Steven wrote:
>
>>$ pear -V
>>-su: /usr/local/php/bin/pear: No such file or directory
>>
>>Why is it looking in /usr/local/php/bin/pear?
>>
>>I have to do:
>>
>>$ /usr/bin/pear -V
>>PEAR Version: 1.3.3
>>PHP Version: 4.3.2
>>Zend Engine Version: 1.3.0
>>Running on: Darwin Panther.local 7.5.0 Darwin Kernel Version 7.5.0: Thu
>>Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power
>>Macintosh
>>
>>Now I have to consolididate these two pear installs..
>>Can I just copy or move the packages installed in
>>/Library/WebServer/pear/PEAR to /usr/lib/php?
>>
>>If I finally have the packages I need working on the local machine with
>>the apps a created can I just copy them to a folder on the remote host
>>and expect them to work or will the difference in the paths give me trouble?
>>
>>I'm a bit confused as you can see...
>
> Isn't this fun though? :)
Very exiting!
> The problem may be revealed by "which pear" also check your path.
$ which pear
/usr/bin/pear
The problem war the order of directories in the path.
> Best
> is to simply delete the irrelevant installation, and install the
> packages you need from /usr/bin/pear. Before you do any installing,
> double check that /usr/bin/pear config-show has all the correct
> settings, and you should be flying high shortly.
OK, I have things fixed now locally. Now can I just copy the libraries
from /usr/lib/php to a directory outside the doc root on the remote
server and add that directory to the include path for php?
Steven