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

PHP4-b3 Install (Apache module?)



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

> > I'm trying to install PHP4 on my Redhat 6.0 system.  I followed the
> > directions in the INSTALL.  I copied the new httpd file into
> > /usr/sbin.  After shutting down apache I try to start it up again with
> > "httpd" and it gives me the following:
> >
> > fopen:  No such file or directory
> > httpd:  could not open document config file /www/conf/httpd.conf
> >
> > Can someone point me in the right direction?
> >
> > Thanks,
> > Brady
> >
>
>To get it working the "proper" way, you can pass the --with-layout=RedHat
>flag to Apache's configure script, and it will install things where the
>stock RedHat RPM does.
>
>--
>Nate Carlson <carlson@real-time.com>    | Phone : (612)943-8700
>http://www.real-time.com                | Fax   : (612)943-8500
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
>For additional commands, e-mail: tclug-list-help@mn-linux.org