phpinfo
From OmegaWiki
Take this code, and save it as phpinfo.php in a directory accessible by your web server software. Then view it in your browser. Be sure to delete the file when done, as black hats have been known to use this script to gather data about a target machine, if it is left online
<?php
phpinfo();
?>

