Hai configurato correttamente un webserver?

Ti serve un webserver (Apache, IIS, quello che vuoi) per fargli interpretare le pagine PHP, che restituiranno poi come output del codice HTML.
Sempre su freephp trovi le guide per installare e configurare un webserver con l'interprete PHP.