Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!


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

  1. freakysid

    freakysid Well-Known Member

    Mar 5, 2002
    Likes Received:
    Trophy Points:
    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:

    # 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.

    When I su into another user I get this:
    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
    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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice