How can I create a php info page?


  • Applies to: VPS Hosting
    • Difficulty: Easy
    • Time Needed: 5-10
    • Tools Required: File Manager
  • Applies to: Managed WordPress
    • Difficulty: Easy
    • Time Needed: 5-10
    • Tools Required: File Manager
  • Applies to: Shared Hosting Hosting
    • Difficulty: Easy
    • Time Needed: 5-10
    • Tools Required: File Manager

Overview

PHP (Hypertext Preprocessor) is a widely-used scripting language that is commonly used for website development. Therefore knowing your PHP information is vital whenever you create or update your website. In this article, we will show you how you can easily create a page that displays all your PHP information.

Instruction

  1. Open your File Manager File Manager File Manager and create a file named "phpinfo.php." Make sure to do this in a location that is web accessible (see this this this for more information).
  2. Open phpinfo.php and paste the following code:
    <?php
    
    phpinfo( );
    
    ?>
  3. Save your changes.
  4. Open a browser and type your domain name with the appending /phpinfo.php to view your page.
    php-blur-01.png
  5. For security, delete the phpinfo.php file when you are finished viewing it.

Resources