1. Home
  2. Hosting
  3. cPanel: How to create and view PHP info file

cPanel: How to create and view PHP info file

This guide provides you with steps to create a PHP info file via your cPanel and view it in any internet browser.

 

 

Step 1– Login to cPanel

  • Please see our article on logging into cPanel here.

 

 

Step 2 – Click on File Manager under your Files section.

 

Step 3 – Create new php file inside your public_html folder.

  • In the example below we named to file phpinfo.php however you can name the file as you wish but it must have the .php extension.

 

 

Step 4 – Edit the file and add the PHP info script.

 

 

 

Step 5 – Once saved you can view from any internet browser.

Updated on August 31, 2023

Was this article helpful?

Related Articles