Name (constant) - Value - Description
INFO\_GENERAL - 1 - The configuration line, php.ini location, build date, Web Server, System and more.
INFO\_CREDITS - 2 - PHP Credits.
INFO\_CONFIGURATION - 4 - Current Local and Master values for PHP directives.
INFO\_MODULES - 8 - Loaded modules and their respective settings.
INFO\_ENVIRONMENT - 16 - Environment Variable information.
INFO\_VARIABLES - 32 - Shows all predefined variables from EGPCS (Environment, GET, POST, Cookie, Server).
INFO\_LICENSE - 64 - PHP License information.
INFO\_ALL - -1 - Shows all of the above. NOTE: Your phpinfo.php file needs to be a plain text file. This means you need to make it in a text editing program capable of producing plain text files. After you have created your phpinfo.php file - uload the file to the server. You should upload your file to the exact directory you want to test and visit the page in your browser. Now you can view all of the information about your server’s PHP configuration for the particular directory where your phpinfo.php file has been uploaded.

