#21408 [Asn]: incorrect Windows instructions on pear.php.net/go-pear
| From: | christian at wenz dot org | Date: | Sat, 04 Jan 2003 14:42:05 +0000 |
| Subject: | #21408 [Asn]: incorrect Windows instructions on pear.php.net/go-pear | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12096@lists.php.net to get a copy of this message | ||
ID: 21408
User updated by: christian@wenz.org
Reported By: christian@wenz.org
Status: Assigned
Bug Type: PEAR related
Operating System: Windows
PHP Version: 4.3.0
Assigned To: nicos
New Comment:
whoops, I copied&pasted a typo into (b); correct is:
cli\php -r "readfile('http://pear.php.net/go-pear');" > go-pear
Previous Comments:
------------------------------------------------------------------------
[2003-01-04 08:31:26] nicos@php.net
Assigned to me.
------------------------------------------------------------------------
[2003-01-04 07:28:56] christian@wenz.org
Two minor documentation issues: On the script that can be received via
go-pear.org or pear.php.net/go-pear the following windows instructions
are included as comments:
# > php-cli -r 'readfile("http://pear.php.net/go-pear");' > go-pear
# > php-cli go-pear
(a) as with the final release, the PHP CLI executable is called php
(not php-cli) and resides in the cli subdirectory
(b) the parameter for php -r must be included in double quotes, you get
an error message using single quotes. The following works:
php-cli -r "readfile('http://pear.php.net/go-pear');" > go-pear
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21408&edit=1