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

Kim Briggs patiodragon at gmail.com
Wed Mar 5 23:32:53 UTC 2008


On 3/4/08, Ben Edwards <funkytwig at gmail.com> 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 Ben,

A word of caution to all about  Synaptic "reinstall" option.  It
doesn't change your /etc/apache2 stuff.  Here is the long story of
"don't do as I have done"

http://kimbriggs.com/computers/computer-notes/linux-notes/apache2-public_html-virtual-directories.file

cheers,
-- 
http://kimbriggs.com




More information about the ubuntu-users mailing list