In order to determine the version of PHP running on the shared server for your hosting account, you can upload a simple PHP file to display this information via the web. The file is known as a PHP info page which outputs information regarding the version, extensions, and configuration options.
To create a PHP info page, open a text file and add the following lines
Save your file as a .php file and name it whatever you would like, such as myTest.php. You can now upload this file into your hosting accounts home directory via FTP. Visit the PHP info page in your browser, i.e. http://mydomain.com/myTest.php.
For security reasons, we recommend that you delete this file once you are finished reviewing the PHP information.