For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Pear Frontend









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Pear Frontend
Dan Rossi

2005-05-11, 3:58 am

Hi there, is there anything i need to do to make the pear installer to
look at a different path either than the default ? Do we have to change
the configs around at all ? Does it need root access ? Let me know, we
are looking at ways (not my area), to update pear packages without the
need for admins who take forever.
Greg Beaver

2005-05-11, 3:59 am

Dan Rossi wrote:
> Hi there, is there anything i need to do to make the pear installer to
> look at a different path either than the default ? Do we have to change
> the configs around at all ? Does it need root access ? Let me know, we
> are looking at ways (not my area), to update pear packages without the
> need for admins who take forever.


There is a pretty detailed section in the PEAR manual on installation
that might offer some ideas on how to do this. In most cases, I have
set up a local copy of pear, and used a .pearrc in my home directory so
that the PEAR installer installs things in my local repository. All
PEAR needs is write/read access to the installation directories in order
to install a package.

One of the problems I've seen a lot is when users don't have shell
access. If you have a unix machine, it's best to install in the exact
same path configuration and ftp the whole directory structure up. If
you aren't that fortunate, PEAR 1.4 has a solution that allows you to
install packages by mirroring them on your local development machine,
and installing them via FTP.

There's lots of options, try the manual and the mailing list archives at
marc.theaimsgroup.net and you will most certainly see what others are doing.

Greg
pear@electroteque.org

2005-05-11, 3:59 am




PEAR 1.4 has a solution that allows you to
> install packages by mirroring them on your local development machine,
> and installing them via FTP.


Thats exactly what i'd like to do, ftping over manually is patchy, and the
registry is all out of wack. So install via frontend on a development
machine users may not have root access too, then sync to the live server in
a directory that has access. By default pear is store in a place with root
only access which is fine but has caused alot of pain.

>
> There's lots of options, try the manual and the mailing list archives
> at marc.theaimsgroup.net and you will most certainly see what others
> are doing.
>
> Greg



Cheers.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com