Linux Commands Examples

A great documentation place for Linux commands

pear



Sorry, no description

... the author of this command may not have provided any manuals


Once you know what this command is about, feel free to add a description in the input "add an example + trick and tips" below
 help other Linux-fans !




add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source

PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

I had this on Ubuntu 10.04 installing the Mongo PHP-extension. Did some research and tried this:

# pear search http
The value of config option cache_dir (/tmp/pear/cache) is not a directory and attempts to 
create the directory failed.

When I created the directories by hand:

mkdir -p /tmp/pear/cache
the error "went away" and I was able to install: "pecl install mongo".
0
source

what exactly happens when I "sudo apt-get install php-pear"

  1. letting the package manager of your distribution make the work has the benefit of having always a consistent system. no missing deps, no conflicting versions. if you deinstall something, the package manager removes what it has installed.
    if you are downloading and unzipping the stuff you want to install and fiddling with the deps, then you are the download manager. things which can be automated should be automated.

  2. in your case:

    % dpkg -L php-pear
    
    

How can this site be more helpful to YOU ?


give  feedback