Home » Categories » Servers » Latest Gen Dedicated Servers

Find My PHP Version Using Phpinfo

One way to find your account PHP settings is to upload a PHP info script. This works on any account that supports PHP.

  1. Create a new text file containing the following line:
    <?php phpinfo(); ?>
  2. Save this file as info.php.
  3. Upload it to the public space of any website.
  4. After you upload it, go to http://your domain name/info.php

Viewing this page will show you what version of PHP you are running, as well as all of the installed PHP modules and their settings.

Note - Once you have obtained the required information, we recommend removing the phpinfo.php file, as it exposes details of your PHP environment that should not be left publicly accessible.

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
What is WebHost Manager, or WHM?
Added on Tue, Sep 1, 2020
Boot my Dedicated Server in Rescue Mode
Added on Wed, Sep 2, 2020
Set up reverse DNS for my Dedicated Server
Added on Tue, Sep 1, 2020
Setting up Nameserver DNS Using cPanel/WebHost Manager
Added on Tue, Sep 1, 2020