On Thu, 2002-02-14 at 15:07, Stephen Clouse wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, Feb 14, 2002 at 02:44:53PM -0800, Jeffrey W. Baker wrote:
> > Hrmm how interesting.  My Apache is built with PHP (with DOM, MySQL, and
> > Postgres) and mod_perl.  With mod_gzip enabled it simply segfaults on
> > every single request.
> 
> We have (other than the standard modules) mod_perl, mod_php, mod_ssl, mod_gzip, 
> mod_rewrite, and mod_auth_db, all statically linked.  (At one point mod_fastcgi 
> was in this cocktail as well, but was removed once everything was converted to 
> mod_perl.)  I do now recall having similar segfaults initially.  The trick was 
> reordering the modules in Configuration so mod_gzip came last (which actually 
> puts it first, Apache processes the Configuration file from bottom to top).  So 
> the relevant portions of our configure line are:
> 
>    SSL_BASE="/usr" ./configure \
>       --enable-module=rewrite \
>       --enable-module=ssl --disable-rule=SSL_COMPAT \
>       --enable-module=auth_db \
>       --activate-module=src/modules/php4/libphp4.a \
>       --activate-module=src/modules/perl/libperl.a \
>       --add-module=src/modules/extra/mod_gzip.c
> 
> With this setup we have never had a problem.  And with the most recent mod_gzip 
> (I believe it's 1.3.19.1a) it now properly plays along with mod_perl/mod_php, 
> and compresses their post-processing output as well.

Okay, I'll take a run at compiling everything statically.  I've had no
end of problems though with Expat, MySQL, PostgreSQL, and Zlib libraries
being linked in multiple times by multiple modules or even Apache
itself.

Especially expat.  Grr.

-jwb

Reply via email to