You can create a phpinfo() web page that will simplify accessing your server’s current PHP information. When visited, the phpinfo() webpage will output information about the current state of PHP on the server.
Adding a phpinfo() page to your website
To add a phpinfo() page to your site, follow the instructions below:
- Log in to the Account Control Center (ACC)
- Navigate to your website files
- Create a new file
- Name the file phpinfo.php
- Enter the following code in the text field:
<?php phpinfo(); ?>
- Click Create File
- Now go visit your phpinfo.php file. You can do this by entering yourwebsite.com/path/to/phpinfo.php in the browser
If set up correctly, the current PHP information output for the server should be displayed on the page.