Subject: Re: php4-imap fails
To: Jared D. McNeill <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 02/27/2001 23:08:32
"Jared D. McNeill" <> writes:
> On Tue, 27 Feb 2001, Johnny C. Lam wrote:
> > I am using (from a very recent pkgsrc) apache + ap-ssl-2.8.0
> > + ap-php- + php-imap- + imap-uw-2000.0.3nb1 +
> > php-pgsql- + 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. 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 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


     -- Johnny C. Lam <>
        Department of Statistics, Carnegie Mellon University