1. Home
  2. Knowledge Base
  3. cPanel
  4. Settings
  5. Steps to create a PHP info page

Steps to create a PHP info page

Step 1: Login to your cPanel account.
Step 2: Click on the File Manger button under files section.
Step 3: Click “New File” at the top left hand side
Step 4: Create a new file “phpinfo.php” and ensure it is under /public_html folder and click “Create New File”
Step 5: Select and Right click on it and choose “Edit” option.
Step 6: Copy/Paste the following coding into phpinfo.php, then click Save Changes.

?php

// Show all information, defaults to INFO_ALL

phpinfo();

?>

Step 8: To test the phpinfo, enter domainname/phpinfo.php in the browser.

Click here to view this article as Oryon knowledge base video tutorial playlist.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support