How can I check apache modules version?

13,807

Solution 1

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

Solution 2

$ 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

Solution 3

Did you try this?

apt-cache policy libapache2-mod-foobar
Share:
13,807
Admin
Author by

Admin

Updated on June 03, 2022

Comments

  • Admin
    Admin almost 2 years

    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?

  • mlissner
    mlissner over 12 years
    Note though that if you installed the module using apxs or some other method, this won't give you the installed version, but rather the version in the repositories.