[Tfug] apache upgrade question

Brian Murphy tfug@tfug.org
Wed Jul 17 00:47:01 2002


On Tue, Jul 16, 2002 at 08:53:06PM -0700, Robert D Zeigler wrote:
> Running redhat 7.2. Recently upgraded from apache 1.3.20 (default w/ 7.2)
> to 1.3.26 to resolve the security issue found in versions previous to
> 1.3.26. Default compilation left a working httpd, but it didn't have
> mod_s0.c compiled in w/ it. (which makes patches/expanded versatility,
> etc. a pain). So, worked that out. Next, it was including mod_so twice.
> Finally worked that problem out. So, life should be good, right? But, when
> I try to add a load_module command (eg. LoadModule mod_php4   libphp4.so)
> I get this error:
> 
> Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
> API module structure `php4_module' in file
> /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an
> Apache module DSO?
> 
> Same error for any module I try and add . . . Any clues? Thanks.

Easy answer:

http://rhn.redhat.com/errata/RHSA-2002-103.html

Harder answer:

Rebuild PHP.  The axps method may be easiest since it avoids rebuilding
apache itself.

You will probably need to rebuild all of your external modules to go with
the new apache server.

Brian