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
- 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.