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
examples
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".
source
what exactly happens when I "sudo apt-get install php-pear"
-
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.
-
in your case:
% dpkg -L php-pear