Apache Web Server Version

How can I determine the version of the Apache web server running on my commercial web server? I have ftp access.
Richard KortsAsked:
Who is Participating?
 
Brad HoweDevOps ManagerCommented:
Hi,

if you don't have access to the server itself that you will need to create a dummy page with this php code to grab the server version.

<%php
print('Apache Version: '. apacheversion());
   
function apacheversion() {
   $ver = split("[/ ]",$_SERVER['SERVER_SOFTWARE']);
   $apver = "$ver[1] $ver[2]";
   return $apver;
 }
?>

http://snipplr.com/view/10881/get-apache-version/

Cheers,
Hades666
0
 
ry_berkCommented:
This site should be able to assist you with what you need:

http://www.cyberciti.biz/faq/find-out-apache-version/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.