Create the PHP info page
- Select Websites in the left side bar, then select your website.
- Select Files in the menu along the top, and open the public_html folder.
- 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.
- Open the file to edit it, and enter exactly this:
<?php phpinfo();
- 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 for | What it tells you |
|---|---|
| PHP Version | At the very top of the page |
| upload_max_filesize and post_max_size | The largest file you can upload |
| memory_limit | How much memory PHP can use |
| max_execution_time | How 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.