Make sure you have enabled PHP. I did this by using web manager by going to the following address:
Login as admin and click "Open Source" then "Apache 2.0" then click "Administer Single Apache Server" which is in the yellow box in the top right hand corner. Now click "Modules" which is in the top toolbar and turn "Mod PHP Status" to "On". Restart apache and hopefully away you go.
Hope this work for you.