Re: pear on shared host
| From: | newbie at tenerife-direct dot com | Date: | Mon, 17 May 2004 16:43:14 +0000 |
| Subject: | Re: pear on shared host | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12545@lists.php.net to get a copy of this message | ||
> On 10 May 2004 at 23:20, Roland Cruse wrote:
>
>> On Mon, May 10, 2004 at 05:14:21PM +0200, Stefan Neufeind wrote:
>> > On 9 May 2004 at 4:17, newbie@tenerife-direct.com wrote:
>> >
>> > > This is my first post to the list. I've just started using pear
>> mostly the
>> > > DB package.
>> > > Thank you all for your efforts.
>> > >
>> > > I've been communicating with my hosting company (qwk.net) over them
>> > > installing pear for their shared hosting sites (me). I know I can
>> always
>> > > install it locally and there as been some very informative posting
>> > > recently about it on this list and I may end up doing that.
>> >
>> > Maybe their installation does not provide a commandline-version of
>> > php, that you would need for the "normal" way of installing PEAR? If
>> > they have a commandline-php they can simply execute the script they
>> > get at http://go-pear.org ... and pear will
>> > automatically be set up
>> > just fine.
>>
>> No they don't have cli-php, only the apache module, if I understand it
>> correctly.
>>
>> > If you can't have this option, try downloading the source from that
>> > URL, put it on your webserver and execute the URL in the browser.
>> > This will allow you to install PEAR and later also install packages
>> > from the web. Depends on your system if you can easily get it to work
>> > - but it's worth a try.
>>
>> Yes I've ssh and have free run just as long as I don't screw things up
>> for anyone else on the shared server. I used the lynx go-pear for
>> getting pear on my developing box but didn't think to use it on the live
>> server. Thanks for the tip.
>
> You can in most cases even install the packages locally on your
> development machine and copy the installed packages to your live-
> server once you're done with testing. That's also very commonly done.
> However, better don't try to directly unpack the packages, since
> often a lot of work done by the installer will remain undone (e.g.
> certain replacements for pathes etc.)
>
Yes, I've used the installer on my development machine which puts pear in
/usr/share/pear which will be different on my shared host machine. I'd
like my development machine to match the shared host. I guess there are a
few ways I could do that. Use .htaccess to make an include directory under
my shared server tree. Anybody know if I can define multiple include
directories or only one? Or have an absolute address when including pear
packages. I am also assuming I can tell the pear package installer where
to install pear.
Thanks for the help
Roland