HostGator.com » Support Portal



phpinfo

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? Create a file named 'phpinfo.php' in the public_html folder of your site and insert the following code:

<?php
phpinfo();
?>

Next, go to your browser and type:

http://yourdomain.com/phpinfo.php

Please replace "yourdomain.com" with your actual domain.


Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment