1. Copy and paste the following to a file:
<?php
phpinfo();
?>
2. Save the file as phpinfo.php and upload it to the root directory of your web server.
3. Browse to the file on your server
http://www.yoursitename.com/phpinfo.php
where yoursitename.com is your domain name.
The version of PHP and all libraries it is compiled with will be displayed.
