Cant get PHP to work - it is trying to download .php

Philippe Didier pdidier at neptuneconcept.com
Wed Mar 5 03:09:44 UTC 2008


Ben Edwards wrote:
> I have installed lamp through synaptic (Edit->Mark Packages by
> task...).  When I go to a .php file (e.g. localhost/test.php) the
> browser downloads the file.  There is no reference to php in
> apache2.config.  What have I missed?
>
> Regards,
> Ben
>
>   
Hi,

You will find a lot of answers in Google. The first thing and mst easy 
things to do is to clean Firefox cache. Close all tabs and clean using 
the menu Tools/Clear private datas... assuming you are using Firefox.
Then try again,

Alternatively ... 
http://www.ubuntugeek.com/install-the-lamp-stack-with-3-commands.html

Good luck

-- 
Philippe Chiangmai Thailand






More information about the ubuntu-users mailing list