PHP program to print the version of the server software
<?php
//PHP program to print the version
//of server software.
$ServerSoftware = $_SERVER['SERVER_SOFTWARE'];
printf("Server Software: %s<br>", $ServerSoftware);
?>
Output
Server Software: Apache/2.2.22 (Win64) PHP/5.3.13
