Re: [g-pear] The new ways for installing PEAR

From: Date: Fri, 14 Jun 2002 22:39:27 +0000
Subject: Re: [g-pear] The new ways for installing PEAR
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7037@lists.php.net to get a copy of this message
On Fri, 2002-06-14 at 19:40, Sebastian Bergmann wrote: > "Tomas V.V.Cox" wrote: > > // Windows & CLI > > # php -r > > "readfile('http://pear.php.net/go-pear');" | php > > c:\home>php -r > "readfile('http://pear.php.net/go-pear');" | php > Welcome to go-pear! > > Go-pear will install the 'pear' command and all the files needed by > it. This command is your tool for PEAR installation and maintenance. > > Go-pear also lets you download and install the PEAR packages bundled > with PHP: DB, Mail, XML_Parser. > > If you wish to abort, press Control-C now, or press Enter to continue: > HTTP proxy (host:port), or Enter for none: > Below is a suggested file layout for your new PEAR installation. To > change individual locations, type the number in front of the > directory. Type 'all' to change all of them or simply press Enter to > accept these locations. > > 1. Installation prefix : c:\ > 2. Binaries directory : $prefix/bin > 3. PHP code directory : $prefix/share/pear > 4. Documentation base directory : $prefix/share/pear/docs > 5. Data base directory : $prefix/share/pear/data > 6. Tests base directory : $prefix/share/pear/tests > > 1-6, 'all' or Enter to continue: > The following PEAR packages are bundled with PHP: DB, Mail, XML_Parser. > Would you like to install these as well? [Y/n] : > > After that, it exits. Actually, you can't do it all in one pipe on Windows, because go-pear is reading terminal input from php://stdin (as opposed to /dev/tty on Unix). Try just doing "php go-pear". Is there a special file similar to /dev/tty on Windows? I seem to remember there was something called "con:" in MS-DOS. - Stig -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

« previous php.pear.dev (#7037) next »