/ Published in: PHP
Return just the Apache version number of your server, and operating system, from $SERVER['SERVERSOFTWARE']
Example:
print ('Apache Version: ' . apacheversion());
will return something along the lines of...
"Apache Version: 2.2.10 (Unix)"
Expand |
Embed | Plain Text
function apacheversion() { $apver = "$ver[1] $ver[2]"; return $apver; }
You need to login to post a comment.
