PHP information page
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

PHP information page


In the phpinfo.php page you can see the PHP version at the top of the file, and you can find the current version of MySQL.

You can also use phpinfo to check php settings like safe_mode and register_globals.

How to Create a PHP Info File

Create a file named 'phpinfo.php' in the public_html folder of your site and insert the one of the following selections of code:

If you want to show all the information about PHP, then use the following code:

phpinfo(); // This would be used to display all of the PHP information available for the installation.

If you would like to just see the installed modules and their current values, use the following code:

phpinfo(INFO_MODULES); // This would be used to display the installed modules and their current values.

If you would like to display the configurations you have setup through your php.ini or to review what's setup through the default configurations, then use the following code:

phpinfo(INFO_CONFIGURATION); // This would be used to display the configurations you have setup through your php.ini or to review what's setup through the default configurations.

Next, go to your browser and type:

Please replace "" with your actual domain.

Knowledgebase Article 194,387 views bookmark tags: php phpinfo

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
Knowledgebase Article 184,696 views tags: blank page php

How do I redirect users to another page using PHP?
Knowledgebase Article 921,643 views tags: header location php redirect redirects

This article will show how to view which PECL packages are alredy installed, as well as show you how to install additional package.
Knowledgebase Article 183,135 views tags: package pear php

Related Help Content

To view your stats, scroll down to the Logs section of the cPanel Here are different programs that can be used to view your stats. We most recommend awstats When you select your stats program, you ma
Getting Started Article 532,723 views tags: awstats domain select stats view

How can I adjust the php settings specifically for an Addon Domain?
Knowledgebase Article 321,599 views tags: domain php

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
Knowledgebase Article 391,923 views tags: htaccess php

How do I change the PHP environment for my site with php.ini?
Knowledgebase Article 798,618 views tags: configuration ini php server

In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.
Knowledgebase Article 174,233 views tags: include php remote url

Many popular website platforms use PHP for rendering their content. It’s common for these sites to have automatic update tools to ensure that they work with the latest version of PHP, however sometimes a theme or plugin for these services may prevent them from updating or may not work with a newer
Knowledgebase Article 144,524 views tags: deprecation discontinue end php upgrade

Changing PHP versions, load custom Apache mods, and other Apache/PHP customizations
Knowledgebase Article 147,578 views tags: easyapache php vps whm

This article will outline which PHP PEAR Packages are installed and how you can install additional PHP PEAR Packages.
Knowledgebase Article 184,520 views tags: package pear php

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here