phpinfo page code example
Example 1: php info file
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Example 2: show phpinfo just modules
phpinfo(INFO_MODULES);
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
phpinfo(INFO_MODULES);