TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:10470] PHP4-b3 Install (Apache module?)



On Wed, 24 Nov 1999, Brady Hegberg wrote:

> I recompiled Apache it with the RedHat directive but now I get this message:
> 
> Syntax error on line 30 of /etc/httpd/conf/httpd.conf:
> Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not
> included in the server configuration
> 
> I'm just guessing that this is because the mod_so.c module isn't compiled 
> in so I went to the Apache .../src/Configuration file and uncommented the 
> line containing "mod_so.o" and ran configure and make again...but that 
> module doesn't show up when I do a "./httpd -l".  The Apache docs say all I 
> have to do is edit the Configuration file and remake...what might I be 
> doing wrong?
> 
> I find it hard to believe there's not a way to install PHP without going 
> through all this.
> 
> Thanks,
> Brady
> 

Try this, plus the configure params for php4 (pretty much copied from the
redhat .spec file):

        ./configure --prefix=/usr \
        --with-layout=RedHat \
        --enable-module=all \
        --enable-shared=max \
        --disable-rule=WANTHSREGEX \
        --disable-module=auth_dbm \
        --with-perl=/usr/bin/perl \
        --enable-suexec \
        --suexec-docroot=/home/httpd/html \
        --suexec-caller=nobody


-- 
Nate Carlson <carlson@real-time.com>    | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500