Create the file info.php and put this in the document root:

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>