Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    46

    Default Pear

    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
    Last edited by freakysid; 04-26-2004 at 07:25 PM.

Similar Threads & Tags
Similar threads

  1. PEAR not installed?
    By Vliegtuig in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-08-2010, 08:11 AM
  2. have no pear and no pecl
    By habakuk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-20-2009, 04:52 AM
  3. Pear
    By figure8hosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-24-2007, 10:44 AM
  4. Pear? Pear Db?
    By articwoof in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-26-2005, 03:36 AM
  5. Pear
    By jackal in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-27-2002, 05:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube