Problems with PEAR

From: Date: Thu, 01 Aug 2002 08:45:00 +0000
Subject: Problems with PEAR
Groups: php.general 
Request: Send a blank email to php-general+get-110643@lists.php.net to get a copy of this message
Hi there, I am having trouble to install pear. This seems to be needed by a webmailer called horde. somehow the pear comming with php4.2.2 does not contain a certain log class. Here is what the faq says about this problem: http://horde.org/faq/admin/trouble/index.php#t51 5.1.21 "Fatal error: Undefined class name 'log' in ..." [Horde 2.x]: Your PHP PEAR implementation is missing the PEAR Log package. This is a common problem with the PHP 4.2.1 PEAR for example. You can install it via the network if you have a standalone php/pear command. See the file horde/docs/INSTALL for more information on how to install the required PEAR packages this way. Otherwise you can download the Log package (e.g. from http://pear.php.net/get/Log) and manually install them inside your PEAR directory. You may also need to install the modules Mail_Mime and Net_Socket as well. For more detailed instructions on install PEAR modules, see the PEAR documentation at http://pear.php.net/manual/. --------- Ok... so far so good :-( I did take a look at the pear php page and this takes me to another step to install a webinstaller: http://pear.php.net/manual/en/installation.web.php So I did try this to :-( But this results in following error msg: capc11-35:/home/andy/sw/horde # lynx -source http://pear.php.net/go-pear | sh sh: ?php: No such file or directory YOU NEED TO RUN THIS SCRIPT WITH PHP NOW! Try this: lynx -source http://pear.php.net/go-pear | php -q capc11-35:/home/andy/sw/horde # lynx -source http://pear.php.net/go-pear | php -q bash: php: command not found capc11-35:/home/andy/sw/horde # -------- Has anybody an idea how to get this thing running? It just drives me cracy. Thanx for any help, andy

« previous php.general (#110643) next »