Updated: 11 October 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)
A PHP info page shows your PHP version, loaded extensions and settings, which helps when installing software or troubleshooting.
Create it
- In cPanel's Files › File Manager, open
public_html(or the domain's folder) and click + File. - Name it something hard to guess, for example
info-7f3a.php, and click Create New File. - Edit it and add just this line:
<?php phpinfo();
- Save and open
https://yourdomain.com/info-7f3a.php.
Note: The page reveals details that help attackers. Delete the file as soon as you have finished.