I had the same error when I first installed apache on ubuntu,
did you run
If not do it and then restart apache again.
Clear your browser cache.
Restart Linux.
did you run
Code:
sudo a2enmod php5
If not do it and then restart apache again.
Clear your browser cache.
Restart Linux.