Fwd: Re: [imp] Problem w/ PHP 4.2.1, IMP 3.0, Log.php

Michael M Slusarz slusarz@bigworm.colorado.edu
Fri, 17 May 2002 16:46:51 -0600


Looks like this was never sent to the list.  Another reason to upgrade and 
use the "Reply to List" option :) (i can't even count the number of times I 
responded personally and not to the list).

michael

----- Forwarded message from Rich West <Rich.West@divatv.com> -----
    Date: Tue, 14 May 2002 14:03:45 -0400
    From: Rich West <Rich.West@divatv.com>
Reply-To: Rich West <Rich.West@divatv.com>
 Subject: Re: [imp] Problem w/ PHP 4.2.1, IMP 3.0, Log.php
      To: Michael M Slusarz <slusarz@bigworm.colorado.edu>

The one problem with the instructions (I used these just this morning. 
:) regarding PEAR is that it assumes that you also have the PHP binary 
installed, while the rest of the instructions show how to install PHP as 
an apache module.

When installed as a module, you really do not have a /usr/bin/php 
binary, and, hence, cannot run "pear" which is simply a php script with 
"#!/usr/bin/php" as the first line.. :(

I simply grabbed the necessary PEAR module(s), untar-gz'ed them, and 
placed them in their appropriate locations (I looked at package.xml just 
to make sure I was placing them in the proper locations).  Not sure if 
that is a good thing, but it worked at the time..

-Rich


Michael M Slusarz wrote:

>Quoting Dan Brown <dan@familybrown.org>:
>
>|     I've been running Horde 2.0/IMP 3.0 under PHP 4.1.2 for a while with
>| no problems.  Last night, I upgraded to PHP 4.2.1.  Now, I get this when
>| I try to log in to IMP:
>| 
>| Warning: Failed opening 'Log.php' for inclusion 
>| (include_path='.:/usr/share/pear') 
>| in /home/httpd/html/horde/lib/Horde.php on line 141
>| 
>
>Yup.  The problem is that the latest version of PHP/PEAR does not include 
>any non-essential PEAR modules by default.  By "non-essential" this 
>supposedly means any modules that are not used by the PEAR installer 
>script.  Therefore, the Log modules aren't there and you have to manually 
>install them.
>
>I ran into the same problem while implementing some of the PGP 
>functionality - a PEAR module that would make my life 1000x easier needs 
to 
>be installed for it the PGP stuff to work correctly.
>
>I'm not sure there has been a decision exactly how to handle the PEAR 
>problem - you can take a look at:
>http://marc.theaimsgroup.com/?l=horde-dev&m=102083650808611&w=2
>for a partial discussion.
>
>I went ahead and installed a temporary solution - namely instructions in 
>the horde INSTALL file on how to install PEAR modules - just so that 
>development could continue.  You can take a look at those instructions at:
>http://cvs.horde.org/co.php/horde/docs/INSTALL?r=1.36
>
>Comments?
>
>michael
>

-- 
Richard West				mailto:richard.west@divatv.com
Sr. Systems Administrator
Diva - Princeton, NJ			http://www.divatv.com




----- End forwarded message -----


______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder