Create A PHP Info File

Last modified by Crucial on Wed, September 17, 2008 14:16
Source|Old Revisions  |  Back To Group

This is an old revision of the document!

From the description, a PHP info file is:

Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Basically, a PHP info file displays information about your PHP installation that can be useful to troubleshoot your Magento installation.

To createa the file, open up your favorite text editor and enter the following:

  1. <?php
  2. phpinfo();
  3. ?>

Save this file with a .php extension, like phpinfo.php, and save it in a public location in your web hosting account.

You can now view the output of thise file by browsing to the location, e.g.:

You will now be able to see information about your PHP environment that will allow you and others to troubleshoot your installation.

After you’re done with the file, you can safely delete it from the server.


Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs