RE: [PEAR] Re: Error after upgrading pear, now can do anything wi th pear
| From: | Jody Cleveland | Date: | Fri, 11 Jun 2004 16:14:13 +0000 |
| Subject: | RE: [PEAR] Re: Error after upgrading pear, now can do anything wi th pear | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13105@lists.php.net to get a copy of this message | ||
Hello,
> -) download the latest Getopt package from PEAR and place
> contained Getopt.php into pear/Console directory
>
> -) run $ php -r 'include 'http://go-pear.org/';
> for a fresh install (installed packages remain AFAIK)
Ran and got this:
# php -r 'include 'http://go-pear.org/'';
Error in argument 1, char 2: option not found r
Error in argument 1, char 2: option not found r
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args...]
-a Run interactively
-C Do not chdir to the script's directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
It looks as though -r isn't listed as an option. Or, did I type in the
command wrong?
Jody