save as: test.php
call it from the web=
yoursitename.com/test.php
//make the following the contents test.php//
<head>
<title>Test For PHP</title>
</head>
<bodytopmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<?php
echo "This is a test";
?>
<?php echo "This is a test" ?>
<?php
phpinfo();
?>
</body>