Re: How to install a local copy of PEAR and after use it in a Hosting Service

From: Date: Tue, 13 Dec 2005 15:43:16 +0000
Subject: Re: How to install a local copy of PEAR and after use it in a Hosting Service
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22232@lists.php.net to get a copy of this message
Hello Reynier, The key point is to use a local ini file during the whole procedure that you can create using "pear config-create" as seen in that blog entry. Note that for all the steps below, you need to have a working PEAR installer (the "pear" command) on your system. That blog entry consists of 3 parts anyways: 1. Creating a local pear-config.ini for my application. I am specifying /myproject/external here, which is the directory under my apps dir where I want the local PEAR to get installed. In the next steps, I always use this config file to tell the PEAR installer where the local installation is/will be. 2. As you can see, I am installing PEAR also into that directory: pear -c pear-config.ini install PEAR 3. Like PEAR itself, any other package can be installed and upgraded just like if it was a system-wide installation and not a local one. Answering your question, this all is NOT only for upgrading previous PEAR installations but to install a local copy of PEAR too.. Sorry about the title, it's a bit misleading. -- Best Regards, Norbert Mocsnik http://norbert.mocsnik.hu/ Reynier Perez Mira wrote: > Hi Norbert: > I read the article. This one is for update a previous PEAR installation, ?no?. So I need to install it from zero. I haven't installed yet. I think in download all packages locally (to my PC) and then install it. ?Is possible do that or is I'm a stupid? > > Best >

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