With the following small PHP script you can display your current PHP configuration. This also gives you the exact version number and an overview of the installed modules.
<?php phpinfo(); ?>
Please note: Modules not listed in the PHP info file can only be installed on servers that come with root or administrator access.
You can also find the PHP info file in the logs directory of your webspace. By visiting the URL in the format http://example.com/logs/info.php you can display the file info.php in the Internet browser. The page is password protected and requires the username and password of your main FTP user.