At 12:25 +0100 1999/12/17, Graham Leggett wrote:
>Blair Lowe wrote:
> > ... and when I run httpd without the Loadmodule
> > everything works except php *I haven't tried perl either*.
>
>I could be wrong, but from the compilation script you gave it looks like
>you are not compiling Apache with module support, but are rather
>building everything into a monolithic Apache binary.
>
>If this is the case then there is no such config option as LoadModule,
>because there is no module support.
>
>Drop the "LoadModule" option and try the feature to see if it works.
>Otherwise modify your build script to compile everything with DSO
>support.
Thanks Graham.
As I said (albeit clear as mud), I HAD commented out the Load module,
and php does NOT work (although apache comes up). I may try DSO
support.
On Fri, Dec 17, 1999, Ralf S. Engelschall [EMAIL PROTECTED] Wrote
>On Fri, Dec 17, 1999, Blair Lowe wrote:
> > Starting httpd: Syntax error on line 208 of /etc/httpd/conf/httpd.conf:
>> Invalid command 'LoadModule', perhaps mis-spelled or defined by a
>> module not included in the server configuration
>
>This clearly means you either have mod_so not compiled into httpd or you have
>a ClearModuleList there and no AddModule for mod_so.c. Run "httpd -l" to find
>out whether mod_so is present and check your server config for AddModule.
Thanks Ralf.
#httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_ssl.c
mod_perl.c
mod_php3.c
Looks like mod_so is not present. Do I need AddModule if I create a
'monolithic binary' (I love that:)?
[aside] I know that there some other more compact technique that I
could use (later), but I just want to get this stuff up ASAP, and
tweak it later. Any advice on how to compile these things as separate
modules would be GREATLY appreciated, though. I see the value of
loadable modules.[/aside]
What is the compile flag for module support.
> > 1. I don't need to add the LoadModule directive unless I am using an
> > APACI type of installation.
>LoadModule has nothing to do with APACI.
>LoadModule is needed if you compile something as a DSO.
>That's all.
Thanks for the clarification. Where is some good documentation on
this stuff (LoadModule, AddModule). It is one thing for syntax, but
the APACI and "DSO" stuff I have not found anywhere except a small
bit in the install manual.
Thanks all!
Blair.
Computer Engineering Inc.
http://www.compeng.net
Phone: 780 499 5687 (9 - 5 MST)
Fax: 780 435 0693 (24 Hours)
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]