Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding installed apache module versions in CentOS/RHEL

I found a similar question about this but aimed at Debian here.

However since I don't have apt-cache it doesn't help me. Running:

    httpd -M

Gives me a list of all the installed modules but not their versions. My colleague has just pointed out that you can use:

    yum info mod_dav_svn.x86_64

This returns the installed version and the one available via Yum, however, if I use httpd -M it lists the names like:

mod_proxy_http.so

Is there any easy way to match up the installed modules file name (i.e. x86_64 i386) so I can check each module, or even better does anyone know of a way to output this info for all modules at once?

like image 302
Rumbles Avatar asked May 01 '12 10:05

Rumbles


1 Answers

It's not clear for me what you exactly want to know or achieve, but for me something like this seems to work:

cd /usr/lib/httpd/modules/
file *.so

like image 118
bartlaarhoven Avatar answered Nov 15 '22 07:11

bartlaarhoven