Finding Your PHP Version with Linux Hosting or Dedicated Servers
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.