My php homepage downloads index.php instead of being processed on Gandi.net
hi im a newbie with servers so thats why i come here with my prob hoping you can help me. so ubuntu 11.10 and i installed lamp-server but the problem is that i was screwing with file-permissions and stuff and now everything i have to http://localhost/index.php my browser attempts to download the index.php instead of viewing it in the browser.
Is there some sort of way to reset /var/www/ to default settings? if no what is the best way to reinstall lamp-server with default settings?
any help would be much appreciated!