Revision: 10552
Updated Code
at January 3, 2009 17:02 by iridium
Updated Code
function apacheversion() { $ver = split("[/ ]",$_SERVER['SERVER_SOFTWARE']); $apver = "$ver[1] $ver[2]"; return $apver; }
Revision: 10551
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 3, 2009 16:57 by iridium
Initial Code
function apacheversion() { $ar = split("[/ ]",$_SERVER['SERVER_SOFTWARE']); $apver = "$ar[1] $ar[2]"; return $apver; }
Initial URL
Initial Description
Return just the Apache version number of your server, and operating system, from $_SERVER['SERVER_SOFTWARE'] Example: print ('Apache Version: ' . apacheversion()); will return something along the lines of... "Apache Version: 2.2.10 (Unix)"
Initial Title
Get Apache Version
Initial Tags
number, apache
Initial Language
PHP