How can I get the PHP configuration (installed php modules and versions) of my hosting account?

How can I get the PHP configuration (installed php modules and versions) of my hosting account?

To get the php information (all information about PHP), you need to create a file with the name phpinfo.php (or any name you prefer, with a .php extension). You can create the file using any simple text editor, like Windows Notepad.

Copy/paste the following code into the file:
 
<?php

    phpinfo();

?>

Upload the file into your public_html folder. You can access it via:
http://www.yourdomain.com/phpinfo.php

This will give you full details about your current PHP configuration.
Last update on: 2009-10-05 13:56:22