Create a phpinfo.php Page Print

  • 0

  1. Open your website files using a File Manager, FTP, or SSH.

  2. Navigate to your website's root directory. This generally will be:
    • Plesk: httpdocs
    • cPanel: public_html

  3. Create a new file named phpinfo.php in your associated website root directly
    You do have the option to add this file into any subdirectory of your choosing.

  4. Add the following lines into your phpinfo.php file:


    // Show all information, defaults to INFO_ALL

  5.  Save your edits.

Was this answer helpful?
« Back