This guide provides you with steps to create a PHP info file via your cPanel and view it in any internet browser.
Step 1– Login to cPanel
- Please see our article on logging into cPanel here.
Step 2 – Click on File Manager under your Files section.
Step 3 – Create new php file inside your public_html folder.
- In the example below we named to file phpinfo.php however you can name the file as you wish but it must have the .php extension.
Step 4 – Edit the file and add the PHP info script.
Step 5 – Once saved you can view from any internet browser.
- Open your browser (Chrome) and enter https://yourdomain.co.za/phpinfo.php
- replace yourdomain.co.za with your actual domain name.