How do i create a PHP info page?

  Web Hosting

You can use a PHP info page to view the current PHP settings of the server.

This file outputs a large amount of information, such as:

  • PHP extensions such as exec,allow_url_open,
  • Current PHP version of the server
  • PHP environment

Here’s the steps to create PHP info Page:

Step 1. To login to your cpanel account via domainname.com/cpanel [ replace domainname.com with actual domain name]

Step 2. Go to File Manger under “files” and click go

Step 3. Click on public_html folder.

Step 4. Select “New File” at the top left hand side & Create a new file call “phpinfo.php” and ensure it is under /public_html and click “Create New File

Step 5. Select the newly created file and click on “Code Editor” and click “Edit”

Step 6. Click Save on the top right hand corner

Step 7. Test it out by going to yourdomain.com/phpinfo.php

If you have further questions, please do not hesitate to contact our support team.