Creating a PHP Info Page

The cPanel interface allows you to view server information about the PHP version your account is running and even allows you to change the version through the MultiPHP Manager section.

Sometimes, you’ll want to view more information about the PHP version you’re running, like extensions, specific version numbers, and other aspects to the configuration, however. In this case you’ll want to use a phpinfo page!

To start, you’ll want to navigate into the directory where you want the file to live (can be done within FTP Client or File Manager through cPanel). I’ll be in the public_html folder for my main domain. Click + File in the top left corner to create a new file.

From there, you can name the file whatever you’d like. Then click Create New File.
Screen Shot 2020-06-19 at 10.46.25

Once the file’s been created, you’ll want to click to Edit the file in the top navigation bar. Then click Edit once again to confirm.

Screen Shot 2020-06-19 at 10.52.17


Once you’re in the file, you’ll want to copy/paste the following code into the file and click save.

<?php phpinfo(); ?>

Once that’s done, you’re good to go! You’ll want to make sure you’re loading the full file publically, for example, You’ll then see the PHP information on the screen.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Reclaim Hosting Support Hours
8:00 am - 5:00 pm ET, Monday through Friday
Submit a Ticket
Get a quick and helpful response from the pros.
Need Extra Support?
No problem, we're here to help! Talk to us about Professional Services or custom Service Level Agreements.