Re: php not working (this message fixed it!!)
On Wed, 16 Oct 2002, James Hughes wrote:
> On Wed, Oct 16, 2002 at 12:08:25PM +1000, Rob Weir wrote:
> > On Tue, Oct 15, 2002 at 03:52:00PM -0400, Matt Price wrote:
> > > hey htere everyone,
> > >
> > > trying to get php4 installed on my woody server and don't seem to have
> > > it figured out right. I've downloaded a package (SPIP) that runs on
> > > php3; I have php4 installed; when I try to load page
> > > (http://pc09.hist.utoronto.ca/~matt/spip/ecrire/index.php3) in my
> > > browser, it always wants to download it, and if it opens the page, all
> > > I see is the sourcecode. Do I need to use php3 instead?
> >
> > I think you just need to edit your /etc/apache/httpd.conf file and
> > uncomment this line:
> > AddType application/x-httpd-php3 .php3
>
> Also, maybe try uncommenting this line:
>
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> >
> > -rob
--------
Yaaaaahhooooo! It worked for me - I had the same "wants to
download it" situation - uncommenting the AddType wasn't good
enough and I was really puzzling over it. I was going to
research a couple more days and then post a request on the
mysql list, but after reading your message, uncommenting the LoadModule
line did the trick. THANKS!!!
- Chip Rose
Reply to: