Hurda
Hurda

Reputation: 143

How can I check apache modules version?

How do I get versions of apache modules on debian?

I can get loaded modules list by apache2ctl -M - but how do I get their version numbers?

Upvotes: 14

Views: 17903

Answers (3)

Nestor Urquiza
Nestor Urquiza

Reputation: 3027

$ strings /usr/lib/apache2/modules/mod_pagespeed.so \
    | grep "mod_pagespeed/[0-9]\.[0-9]"
mod_pagespeed/w.x.y.z

Find more at http://thinkinginsoftware.blogspot.com/2015/10/find-out-apache-module-version.html

Upvotes: 13

fakeroot
fakeroot

Reputation: 284

apt-cache show libapache2-mod-foobar | grep Version

Upvotes: 11

Umang
Umang

Reputation: 5266

Did you try this?

apt-cache policy libapache2-mod-foobar

Upvotes: 2

Related Questions