Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何检查apache模块版本?_Apache_Apache2_Webserver_Debian_Module - Fatal编程技术网

如何检查apache模块版本?

如何检查apache模块版本?,apache,apache2,webserver,debian,module,Apache,Apache2,Webserver,Debian,Module,如何在debian上获得apache模块的版本 我可以通过apache2ctl-M获得已加载的模块列表-但如何获得它们的版本号?您尝试过这个吗 apt-cache policy libapache2-mod-foobar 请在中查找更多信息注意,如果使用apxs或其他方法安装模块,则不会提供已安装的版本,而是提供存储库中的版本。 apt-cache show libapache2-mod-foobar | grep Version $ strings /usr/lib/apache2/mod

如何在debian上获得apache模块的版本

我可以通过apache2ctl-M获得已加载的模块列表-但如何获得它们的版本号?

您尝试过这个吗

apt-cache policy libapache2-mod-foobar

请在

中查找更多信息注意,如果使用
apxs
或其他方法安装模块,则不会提供已安装的版本,而是提供存储库中的版本。
apt-cache show libapache2-mod-foobar | grep Version
$ strings /usr/lib/apache2/modules/mod_pagespeed.so \
    | grep "mod_pagespeed/[0-9]\.[0-9]"
mod_pagespeed/w.x.y.z