PHP Version Information - phpinfo()

Open a text editor such as vi or Notepad, and copy and paste the following:

<?php//Shows all PHP Configuration settingsphpinfo();

//Shows PHP Module Informationphpinfo(INFO_MODULES);?>

Save the file as phpinfo.php and upload the file to a browseable location inside your web directory. Then open your web browser and go to the page you just created. You should see your current PHP configuration.