The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pear

Discussion in 'General Discussion' started by freakysid, Apr 26, 2004.

  1. freakysid

    freakysid Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    eh, I don't know much about Pear - but how do I get it to work from the command line. At the moment, as user root, all I get at the command line is help documentation. Example:

    Code:
    # pear list
    pearcmd.php list [package]
    If invoked without parameters, this command lists the PEAR packages
    installed in your php_dir ({config php_dir)).  With a parameter, it
    lists the files in that package.
    
    Arghh.

    When I su into another user I get this:
    Code:
    jailshell-2.05a$ pear list
    Could not open input file: /usr/local/lib/php/pearcmd.php.
    jailshell-2.05a$ ls  /usr/local/lib/php/
    ls: /usr/local/lib/php/: No such file or directory
    
    Code:
    PHP 4.3.4 (cli) (built: Nov  8 2003 12:34:08)
    Copyright (c) 1997-2003 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
        with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies
    
     
    #1 freakysid, Apr 26, 2004
    Last edited: Apr 26, 2004
Loading...

Share This Page