Subject: Re: php4-imap fails
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 02/27/2001 23:08:32
"Jared D. McNeill" <jmcneill@invisible.yi.org> writes:
> 
> On Tue, 27 Feb 2001, Johnny C. Lam wrote:
> > I am using (from a very recent pkgsrc) apache 1.3.17.1 + ap-ssl-2.8.0
> > + ap-php-4.0.4.1nb1 + php-imap-4.0.4.1nb1 + imap-uw-2000.0.3nb1 +
> > php-pgsql-4.0.4.1nb1 + postgresql-7.0.3 + horde-1.2.4 + imp-2.2.4 with
> > NetBSD/i386-1.5L.  I've discovered that httpd is /very/ sensitive to
> > the order in which modules are loaded, and also in requiring auxiliary
> > shared modules to be loaded.  It took an annoying long time to figure
> > out the correct way to load things as there is no error log created
> > that tells you why httpd fails to start.  The following in httpd.conf
> > works for me:
> > [ snip ]
> 
> That looks pretty much the same as what I had, except for libpg (what's
> that? I don't have that...). Anyway, I built imap and pgsql support
> directly into php4 and ap-php4 and it's working fine now.

libpg.so is the PostgreSQL C access library, a part of the
postgresql-7.0.3 package.  It's needed for php-pgsql to work if you
install only via pkgsrc.

> Btw, what does using PostgreSQL with horde and imp do that one can't do
> with other things? (I'm using ct_shm.inc over here).

I believe it has to do with persistence of data, but I'm not sure.
The Horde and IMP documentation claimed very-well-tested setups with
MySQL and PostgreSQL, so that is what I use in my own production
environment.

	Cheers,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/