Apache + php

Julio Biason julio.biason at gmail.com
Fri Jan 27 16:21:13 UTC 2006


On 27/01/06, robert <ubtu at bathnetworks.com> wrote:
> I have run into a problem with Apache2 + php4 + mysql though. It looks
> like apache is not linking to the php module. What I get when I try and
> access the pages is that firefox does not know what to do with the phtml
> file I am trying to down load.

Your file has the extension 'phtml' or it is just some way to say "php
with html"? (I'm not mocking, I just didn't see this before).

If it is the former, you can try renaming it to 'php' instead of
'phtml'. As far as I know, apache uses the extension as a mime
identification and doesn't recognize phtml as a php code (thus,
displaying the code itself).

Or maybe there is a bug in the page and it is breaking the HTTP header
and making Firefox get confused.

--
Julio Biason <julio.biason at gmail.com>




More information about the ubuntu-users mailing list