Search The Hostwinds Guides Knowledge Base

How to Create a phpinfo Page

Share This Article [TheChamp-Sharing]

Creating a phpinfo.php page is simple to do and will show you what PHP settings enabled for you account. This can be a good tool to use to confirm what is available for you to use. If there is something that is not enabled for your account, and it is absolutely necessary, you may be interested in our VPS package so that you have full control over what settings are available for you to use.

Create A phpinfo.php Page using cPanel and File Manager

  1. Login to your cPanel Account
  2. Open up the File Manager
  3. Navigate to the public_html folder
  4. Click on + File in the top left corner to create a new file
  5. Enter the name of the file as phpinfo.php
  6. Highlight the new file and click the Edit button at the top of the page
  7. Insert the following into the file:
    // Show all information, defaults to INFO_ALL
    // Show just the module information.
    // phpinfo(8) yields identical results.
  8. Click Save Changes in the upper right

Once you have created the file, you can preview it by going to to view all of the PHP settings for your account.