How can I check which version of Apache is installed on a Debian machine?
Is there a command for doing this?
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.
Apache is available in Debian, among other WebServers.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With