Frequently Asked Questions

Finding Your PHP Version with Linux Hosting or Dedicated Servers

Print this Article
Comment on this Article
Last Updated: August 31, 2011 7:54 AM

The easiest way to find your PHP settings for an account is to upload a PHP info script.

Upload a PHP Info Script

  1. Open your favorite text editor (notepad, vi, nano, etc.).
  2. Insert the following line into the file:
    <? phpinfo(); ?>
  3. Save this file as info.php and upload it to the root of any website using your favorite FTP client.
  4. Once uploaded go to yourdomain.com/info.php in a Web browser.
  5. 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.