Re: Re: how to install pear package in Windows

From: Date: Tue, 30 Jul 2002 20:42:40 +0000
Subject: Re: Re: how to install pear package in Windows
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2001@lists.php.net to get a copy of this message
On Sun, 28 Jul 2002, S.P. Telgenhof Oude Koehorst wrote: > Hi, > > I don't know if this is the correct way to do it but it works for me (so > far). > In a DOS session I simply execute the following command: > > pear install <PEAR-package> > > e.g. > > pear install Cache > > This will install the stable release of Cache in the directory c:\php4 > The only thing is, I have to copy it to my installation directory of PHP. You can set which directory you want like this: pear -d php_dir=c:\bleh install Cache Note that the registry of installed packages is also stored in this directory, so if you do "pear -d php_dir=c:\bleh list" and "pear list" they will give different results. Add the "-s" option before the "-d ..." to make the php_dir setting permanent. - Stig

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