How to Create a PHPinfo File to view all PHP Settings
We would recommend removing this file once you have completed troubleshooting. This file provides information about the version of PHP and various PHP limits, which would be useful to a potential hacker.
Step 1 - Log into cPanel
, then create a file
in your website's public_html
Step 2 -
Select the PHP info file, then click Edit
Step 3 -
Put this code in the file, then click Save
Step 4 -
To view your site's PHP information, simply go to the website. For example, if your website is yourdomain.net.au you would visit yourdomain.net.au/phpinfo.php.
Did you find this article useful?