Re: Problems with PEAR
| From: | electroteque | Date: | Thu, 01 Aug 2002 15:29:39 +0000 |
| Subject: | Re: Problems with PEAR | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110686@lists.php.net to get a copy of this message | ||
read this site
http://vulcanonet.com/soft/index.php?pack=pear_tut#ss2
the best pear tutorial to get me going
prob try and install via cvs , thats the whole lot though, but it works ,
also search http://pear.php.net for the package and then copy it
to that dir
also make sure the include dir to pear is setup in php.ini
usually /usr/local/lib/php or whereever pear is sitting
there is a whole list regards to pear php.pear
"Andy" <news.letters@gmx.de> wrote in message
news:20020801083725.32597.qmail@pb1.pair.com...
> 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
>
>
>