Sounds like the server is not set to use the php correctly, assuming that PHP is correctly installed.

Do you have any other details?   Is the webserver running?