Checked this. saved the file, and got the raw php file - not the rendered content. So it's a server issue, not a browser issue. Thanks though.
-----Original Message----- From: Jason Louie [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:01 PM To: [EMAIL PROTECTED] Subject: Re: (clug-talk) Apache 2 and PHP MIght be stating the obvious but it might be the problem. Wouldn't it be your browser that is asking you to save the PHP file? Try saving it and looking at the source to see if the page has in fact interpreted the page. If so then your server should be working fine. Try another browser and make sure the browser isn't the issue. Jason 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. > > >Shawn > >
