Index.php wont display, it only displays html

So i put the contents of the php file in to a .html file to see what happens