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