Php Installtion problem

I want to setup my own local server.I am successfully installed apache and php on my machine. When i try to run localhost. browser gives me the " its works message" .And i am also able to view result page <?php phpinfo(); ?>.
But when i am trying to run this script.Error mesage is displayed by browser is 500 internal server error.
I am include all php info result file.
Please some one help me to fix it out.

PHP Test

This is an HTML line

<?php echo ???This is a PHP line??

the quotes look stange:
echo ???This is a PHP line??

Sponsor our Newsletter | Privacy Policy | Terms of Service