php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21408 incorrect Windows instructions on pear.php.net/go-pear
Submitted: 2003-01-04 07:28 UTC Modified: 2003-01-09 20:25 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: christian at wenz dot org Assigned: nicos (profile)
Status: Closed Package: PEAR related
PHP Version: 4.3.0 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: christian at wenz dot org
New email:
PHP Version: OS:

 

 [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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-04 08:31 UTC] nicos@php.net
Assigned to me.
 [2003-01-04 08:42 UTC] christian at wenz dot 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-05 08:04 UTC] edink@php.net
Actually those two commands can be replaced with:

cli\php -n -r "include 'http://go-pear.org/';"

 [2003-01-09 20:25 UTC] ssb@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

A new version of go-pear should appear online within an hour.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC