|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-04 07:28 UTC] christian at wenz dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
whoops, I copied&pasted a typo into (b); correct is: cli\php -r "readfile('http://pear.php.net/go-pear');" > go-pear