Running phpinfo() diagnostics

The phpinfo() function can be used to output a large amount of information about your PHP installation and can be used to identify installation and configuration problems. To run the function, just create a new file called test.php and place it into the root directory of your web server. Now open the file in a text editor and add the following content:


After saving the file, just point your web browser at it to view its result (i.e., open http://<server>/test.php). You should see something like the following output. This information can also be useful for the Gurock Software support to diagnose installation problems.