A phpinfo page displays the current PHP configuration settings of your web server. If your website is developed in PHP, you’ll find the information in a phpinfo page very helpful for your site planning and troubleshooting.
1. Log in to your cPanel and click File Manager.
2. Select your site’s home directory and click New File.
3. Name the file phpinfo.php and click Create New File. Select the file and click Edit.
4. Add the following line of code and click Save Changes.
You can now access this page from your browser. If you created the file in your public_html folder, then you would visit http://mysite.com/phpinfo.php. Replace mysite.com with your domain name. You’ll see all of the PHP information for your web server.