Apache + php

robert ubtu at bathnetworks.com
Fri Jan 27 16:43:22 UTC 2006


On Fri, 2006-01-27 at 14:21 -0200, Julio Biason wrote:
> 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.

Thanks for the quick reply.

The files in the directory that should be displayed are .php - Its
actually the files that come with Joomla. 

Rob  





More information about the ubuntu-users mailing list