My configuration files are attached.  (watch for the unix style line feeds
if you are viewing them on a Windows box...)

Here's the output from the command "apache2 -l"

Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

The attached files are all from /etc/apache2/conf, except for the
conf.d-apache2 file.  The modules.d.txt file is a directory listing from the
modules.d sub directory.  The conf.d-apache2 file is the /etc/conf.d/apache2
file.

As noted above, mod_php isn't listed as being compiled in.  And a new
development - I've installed Webmin, and it also cannot find mod_php, or
mod_php4 as being setup correctly - even after I manually add it.

I think I'll bring this box to the Installfest for a quick help session, if
possible.

Thanks for all the support thus far.

Shawn


-----Original Message-----
From: Dave Lee [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 9:11 PM
To: CLUG (E-mail)
Subject: Re: (clug-talk) Apache 2 and PHP



can you post your httpd.conf to the list?
and also the output of `httpd -l`

Dave

Shawn Grover wrote:
> I've spent the past couple of nights trying to get mod_php running with
> Apache 2 with no luck.  I'm using Apache 2.0.46 and mod_php 4.3.2r2 and
it's
> on a Gentoo system (though I'm not sure if that matters in this case).
When
> I try to open a php file in a browser I get prompted to save it to disk.
>
> I have found a number of references to this problem, and have tried out
the
> various fixes they suggest.  Specifically, I've added "-D PHP" to
> /etc/conf.d/apache2 and added the LoadModule and AddType lines in the
Apache
> config files.  From what I've seen that should be enough.
>
> For the Gentoo specific stuff, I have "apache2" in my USE variable, and
> arch="~x86".  I have cleaned out the installation of Apache2 and mod_php
> (and apache from an earlier attempt), removed the config files (after
> backing them up), and reinstalled mod_php (which has Apache as a
dependancy,
> so Apache 2 was installed as well).  I left the config files in their
> default state, except for adding the "-D PHP" bit again. Apache is working
> (serving pages), but still prompting to save the php file.
>
> Any tips?  Thanks.
40_mod_ssl.conf
41_mod_ssl.default-vhost.conf
45_mod_dav.conf
70_mod_php.conf

Attachment: commonapache2.conf
Description: Binary data

Attachment: conf.d-apache2
Description: Binary data

Attachment: apache2.conf
Description: Binary data

Reply via email to