PHP info is very powerful tool to know the all details about PHP
configuration, server environment and server settings. It tells about the
PHP version running in the server. The settins can be chaned in php.ini file .
Here is the simple one line code for printing.
<?
echo phpinfo();
?>
Store this code in any php file and open in your server.