test php fuctionality with simple code

So you want to test php to make sure it is working properly, or you want to see which modules php has loaded.  Simply make a file with the extension .php and put the below code in the file.

<html>
<head
<title>PHP Test Script </title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>