PHP information

To view your current version of PHP you will create a php file, for example info.php, and place the file in your public_html folder.

Here are the steps and code to create a simple PHP file and view it in your web browser...

  1. Access your control panel with Ultra and click on the "File Manager" icon. You can also access your files using any standard FTP program such as FileZilla or SmartFTP.
  2. Navigate to the public_html folder
  3. Create a new file called info.php in your web server's public_html directory.
  4. In the file, add the following code:

    <?php
    phpinfo();
    ?>
  1. Save the file.
  2. view the new file in your internet browser via www.yourdomainname.com/info.php 
    (replace yourdomainname.com with your actual domain name)

The file will display a wealth of information about your PHP installation, including the version number.

The PHP information page also includes information about the PHP extensions that are installed, the PHP configuration settings, and the PHP error messages.

If you don't have your control panel login credentials or need additional help,

please contact Ultra.

  • 347 Users Found This Useful

Was this answer helpful?

Related Articles

Strict Standards: Non-static method JLoader::register() should not be called statically in

The error message...  Strict Standards: Non-static method JLoader::register() should not be...

Increase PHP Memory

Fatal error: Allowed memory size of xxxxxxxxx bytes exhausted (tried to allocate xxxxxxxx bytes)....

How can I find my MariaDB - MySQL version?

Method 1: Through cPanel   Log in to your Ultra Web Hosting account. Click on the cPanel...

403 Forbidden error with Drupal after install

There are a few things you can do to fix the 403 Forbidden error with Drupal after install:...

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...