Frequently Asked Questions

Help Center Search

Find the Current PHP Version and Settings in Linux Shared or Dedicated Server Account

Print this Article
Comment on this Article
Last Updated: January 20, 2009 2:35 PM

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.