1. Home
  2. Enhance Panel
  3. Advanced Management
  4. How to create a PHP info page

How to create a PHP info page

A PHP info page shows your website’s PHP version and settings, such as the upload size and memory limit, and which PHP extensions are installed. It’s useful when a developer or plugin asks “what are your PHP settings?”, or to check a change you’ve made has taken effect.

Delete it as soon as you’ve finished. A PHP info page shows detailed information about your website’s setup, which could help an attacker. Never leave one on your website.

First, log in to your Enhance panel – see how to log in to the Enhance panel.

Create the PHP info page

  1. Select Websites in the left side bar, then select your website.
  2. Select Files in the menu along the top, and open the public_html folder.
  3. Select New and create a new file. Give it a name that would be hard to guess, ending in .php – for example info-7k2q.php.
  4. Open the file to edit it, and enter exactly this:
<?php phpinfo();
  1. Save the file.

View it

In your browser, go to your website address followed by the file name – for example https://yourdomain.co.uk/info-7k2q.php.

You’ll see a long page of information. The most useful parts are near the top:

Look forWhat it tells you
PHP VersionAt the very top of the page
upload_max_filesize and post_max_sizeThe largest file you can upload
memory_limitHow much memory PHP can use
max_execution_timeHow long a PHP script can run before it stops

Use your browser’s find feature (Ctrl+F, or Cmd+F on a Mac) to search for a setting.

Delete it when you’re done

Go back to Files, open the menu (⋮) next to the file and delete it.

Want to change a setting?

You can also see your current PHP settings without creating a file: the php.ini editor in your Enhance panel lists them – see the PHP settings article above.

Need a hand? Please contact our support team and we’ll be happy to help.

Updated on October 5, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
GET SOME HELP!