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.

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

Related Articles

How To: Install Magento using Installatron Script Installer

There are a few easy steps that you will need to take to install Magento using Installatron...

How To: Improve Magento Performance

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

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

Magento Security Patches

From time to time Magento will release patches for security vulnerabilities or simply standard...