Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English

How do I create a PHP Info Page?

< 1 min read

A PHP Info Page is a simple way to check your server’s PHP configuration, installed extensions, and settings. It’s useful for troubleshooting, debugging, or confirming that your website meets the requirements of a PHP application.

Steps to create a PHP Info Page #

  1. Create a new PHP file
    • Open a text editor (like Notepad or VS Code).
    • Create a new file and name it something like phpinfo.php.
  2. Add the PHP info code
    • Paste the following code into your file:
    <?php phpinfo(); ?>

  1. Upload the file to your website
    • Log in to your hosting account at my.disoh.com.
    • Use File Manager in cPanel/DirectAdmin or an FTP client to upload phpinfo.php to the root of your website (usually public_html).
  2. View your PHP Info Page
    • Open your browser and go to https://yourdomain.com/phpinfo.php.
    • You will see a full page with information about your PHP version, loaded extensions, server settings, and more.

Important Notes #

  • Security tip: After checking your PHP info, delete the file or move it outside the public folder. Leaving it online can expose sensitive server information.
  • This page is read-only, so it won’t affect your website.
What are your feelings