A phpinfo page lets you check your current PHP information for your web hosting account. Using a phpinfo page lets you quickly check available PHP extensions and PHP settings.

The phpinfo page will show:

  • The current version of PHP
  • Available PHP extensions and compilation options
  • PHP variables such as memory_limit, upload_max_filesize, post_max_size and max_execution_time
  • PHP environment
  • OS version and information, paths, master and local PHP variables

How-to create a phpinfo.php page

  1. Open a text file. On Windows, open Notepad. On Mac, open TextEdit, click New Document, then click Format > Make Plain Text.
  2. Copy and paste the following code
    <?php phpinfo(); ?>
  3. Save the file as phpinfo.php
  4. Upload phpinfo.php to your public_html folder in your Ecenica web hosting using either FTP or cPanel File Manager.
  5. Visit the page in your web browser. The web address will be similar to http://www.your-domain.com/phpinfo.php

Tips for reading phpinfo.php

Use your web browser search to find the extensions or variables you want to see. On Windows, press the Ctrl+F keys. On Mac, press cmd+F.