Re: how to install pear package in Windows

From: Date: Sun, 28 Jul 2002 09:01:44 +0000
Subject: Re: how to install pear package in Windows
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1992@lists.php.net to get a copy of this message
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. Unfortunately I've noticed that not all packages install well. Some dependencies don't work properly. So, like I said, I don't know if this is the right procedure, but maybe it can help you a little bit. Sacha Telgenhof Zaandam, The Netherlands "Dobedani" <dobedani@yahoo.co.uk> wrote in message news:20020726133655.17348.qmail@web21007.mail.yahoo.com... > Dear All, > > Yesterday I sent the question below to the Usenet > group php.windows. So far no reply. > > Since then I tried to extract the pear archive to a > subdirectory called pear of the directory > C:\usr\lib\php\ where I installed PHP. The pear.bat > script however resulted in a terrible error. Below my > DOS session: > > C:\Usr\Lib\PHP\Pear\scripts>pear.bat > > C:\Usr\Lib\PHP\Pear\scripts>set > PHP_BIN=C:\Usr\Lib\Php\php.exe > > C:\Usr\Lib\PHP\Pear\scripts>set > PEAR_PATH=C:\Usr\Lib\Php\pear > > C:\Usr\Lib\PHP\Pear\scripts>C:\Usr\Lib\Php\php.exe -C > -d include_path=C:\Usr\Lib\Php\pear -f C:\U > sr\Lib\Php\pear\scripts\pear.in > > <br /> > <b>Fatal error</b>: Failed opening required > 'PEAR.php' (include_path='@include_path@') in <b>C:\ > Usr\Lib\Php\pear\scripts\pear.in</b> on line > <b>39</b><br /> > > Please help! > > > From: Dobedani (dobedani@gmx.net) > Subject: Re: [PHP-WIN] how to install pear package in > Windows > Newsgroups: php.windows > Date: 2002-07-25 10:38:29 PST > > Dear Martin and others, > > Thanks for the encouragement. I am a newbie to PHP, > but not to ASP. I > used the PHP 4.2.2 installer from http://nl.php.net > for Windows to get > PHP up and running ;-) > > It seems to me that PEAR can help to maintain the > programming style I > am used to. I do not have time to learn all already > :-( > > Please indicate to us where you found the archive you > used to get the > PEAR package manager installed. I hope it will also > work for me. TIA > > Kind regards, > Dobedani > Wageningen, the Netherlands > > > ===== > $curdir =~ tr/\\/\//; # convert Windows path to Unix path > Dobedani <dobedani@gmx.net> > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com

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