Oder du erstellst eine .htaccess Datei(Sie muss .htacess heißen, also ohne das etwas vor dem .htaccess steht) worin steht:
AddType application/x-httpd-php php php4 php3 html htm
Das bedeutet das Dateien mit der Endung: .php, .php4, .php3, .html und .htm als PHP interpretiert werden...