How To: Create A PHP Info File

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

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

<?php phpinfo(); ?>


Save this file with a .php extension, like phpinfo.php, and upload it to a public location in your web hosting account, such as the web root our public_html directory.

You can now view the output of thise file by browsing to the location, e.g.: http://www.example.com/phpinfo.php

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.

  • Email, SSL
  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

How To: Improve Magento Performance

Important Note: The following tips on performance improvements have been tested to work properly...

How To: Setup Multiple Store for Magento

The following is the recommended guide to setup a Magento Multi-Store on our hosting plans. A...

How To: Display Products on Homepage

There are numerous ways to put products on your home page, and we’ll compile a list of code...

How To: Remove Add to Cart buttons from Catalog Pages

If you want to remove the “Add to Cart” buttons from the catalog pages, this is how...

How To: Add Home Link to Menu Bar

For the Home link in the menu bar of the main template you can add some code to one of the...