#21408 [Asn]: incorrect Windows instructions on pear.php.net/go-pear

From: Date: Sun, 05 Jan 2003 14:04:44 +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-12131@lists.php.net to get a copy of this message
ID: 21408 Updated by: edink@php.net Reported By: christian@wenz.org Status: Assigned Bug Type: PEAR related Operating System: Windows PHP Version: 4.3.0 Assigned To: nicos New Comment: Actually those two commands can be replaced with: cli\php -n -r "include 'http://go-pear.org/';" Previous Comments: ------------------------------------------------------------------------ [2003-01-04 08:42:04] christian@wenz.org whoops, I copied&pasted a typo into (b); correct is: cli\php -r "readfile('http://pear.php.net/go-pear');" > go-pear ------------------------------------------------------------------------ [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

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