Hosting Guide

How can I create a phpinfo.php page?

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.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London