Paste the following code into microsoft notepad (or a similar text editor), and save it as phpinfo.php. Then upload the phpinfo.php file into the directory you would like to test. You can then run the phpinfo.php file by going to it's location in your web browser. eg www.yourdomain.co.nz/myfolder/phpinfo.php
// Show all information, defaults to INFO_ALL
// Show just the module information.
// phpinfo(8) yields identical results.