phpinfo command code example Example: php info file <?php // Show all information, defaults to INFO_ALL phpinfo(); ?>