what were the options you sent to apache2 and php when you compiled them?

also, check to make sure that apache is loading the proper httpd.conf (the one 
containing AddType application/x-httpd-php .php).

just a few suggestions....

I haven't attempted to run php w/ apache2 since the php group still doesn't 
recommend using it.

Quoting Shawn Grover <[EMAIL PROTECTED]>:

> 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.
> 
> 
> Shawn
> 


-- 
Sending all process the TERM signal
Vs.
Windows is shutting down...

Which one sounds smarter?

Reply via email to