Blair Lowe wrote:
> I got the latest apache mod_ssl mod_php mod_perl to compile and run cleanly.
>
> Here comes my problem.
>
> php scripts don't work.
>
> So I tried to add a Load Module directive as per the php instructions:
>
> /etc/rc.d/init.d/httpd start
> 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
> [FAILED]
>
> I added the AddTypes directove and the AddModule httpd.conf
> directives with no luck, 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.
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight...
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]