get all information about the server the script is running on

phpinfo” makes use of the built-in PHP functions phpinfo( ).

01 <?php
02 
03 // for all possible server info simply use
04 phpinfo();
05  
06 // if you only want info about the installed modules, use
07 phpinfo(INFO_MODULES);
08  
09 ?>