Category: cPanel & Hosting • Est. reading time: 3 minutes
A phpinfo file is a tiny page that reports exactly how PHP is configured on your server: the version, memory limits, upload sizes, and which extensions are active. It is a handy diagnostic when a plugin complains about a setting. Just remember to remove it when you are done, because it reveals details you do not want public.
The Steps
- Log in to cPanel and open File Manager in the Files section.
- Open your public_html folder.
- Click + File and name it info.php.
- Select the new file, click Edit, and paste in exactly this: <?php phpinfo(); ?>
- Save, then visit yourdomain.com/info.php in your browser to see the report.
Delete it afterward, without fail. A phpinfo page tells strangers a lot about your server, which is a gift to attackers. The moment you have the info you need, delete info.php from File Manager.
Chasing a PHP setting and not sure what to change? On our managed hosting we tune this for you. Reach us at support@allydrez.com or 1-321-209-2004.