Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version of Apache installed on a Debian machine

How can I check which version of Apache is installed on a Debian machine?

Is there a command for doing this?

like image 893
pindiwala Avatar asked Nov 14 '08 09:11

pindiwala


People also ask

How do I tell what version of Apache is installed?

If you need to check the Apache version number installed on your server, you can do so in one of a couple of ways. Type apache in the search bar and open up the Apache Status screen. The current Apache version will be displayed next to Server Version on the Apache Status page.

Does Debian come with Apache?

Apache is available in Debian, among other WebServers.


1 Answers

Try apachectl -V:

$ apachectl -V Server version: Apache/2.2.9 (Unix) Server built:   Sep 18 2008 21:54:05 Server's Module Magic Number: 20051115:15 Server loaded:  APR 1.2.7, APR-Util 1.2.7 Compiled using: APR 1.2.7, APR-Util 1.2.7 ... etc ... 

If it does not work for you, run the command with sudo.

like image 83
Todd Gamblin Avatar answered Sep 20 '22 19:09

Todd Gamblin