For the record, you should only need to...
code
apt-get install apache2 php5 libapache2-mod-php5
...to get PHP and Apache and have them play nice together.
And you shouldn't have to do anything at all if you chose "LAMP server" (or something similar) when you installed the OS.