Overview
A very easy way of doing this is to create a file named "check_info.php" or "check_info.php5".
Insert the following line in it:
<? phpinfo(); ?>
Then run this file in your domain, i.e.
http://www.domainname.com/check_info.php
*** The above information is for reference only, Please seek independent technical advice if found necessary.