.php files are downloaded instead of being parsed by Apache

I have Xampp on Ubuntu 11.04. .php files are downloaded instead of parsed by Apache! How do I get Apache to parse them?


Try:

sudo apt-get update; sudo apt-get install libapache2-mod-php5
sudo a2enmod php5
sudo service apache2 restart

Post back any terminal errors.

If your using Firefox, you may have to clear your cache as well.