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.:

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.

Was this answer helpful?

 Print this Article

Also Read

How To: Upgrade Magento to the Latest Version

Note: It is always recommended to perform multiple form of backups before you perform any...

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: 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...

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 Attributes to Product Grid in Category

Introduction Here we will show how to add your more attributes to the category view product list...