Web Hosting Talk







View Full Version : Modules Installed on Server?


MorganW
08-27-2001, 04:17 PM
G'day!

I was wondering if some techincally savvy person could tell me if there is a way to find out what modules are installed on a server. Is there anything I can run in telnet to get the server to list the installed modules?

Thanks for any advice.

ffeingol
08-27-2001, 04:29 PM
Apache modules, perl modules?

Frank

Palm
08-27-2001, 06:21 PM
Open up your httpd.conf and search for AddModule
You will see some entries to add modules.

Also go to /usr/local/apache/lib
thats where apache keeps the modules that you install.

mikeknoxv
08-27-2001, 06:33 PM
Try "httpd -l" (if you're on a RaQ4, it should be "/usr/sbin/httpd -l"). This of course is assuming you are looking for Apache modules.

MorganW
08-28-2001, 05:08 PM
Apologies for not making myself clearer! I guess that these nuances I will pick up and I will speak more sense in the future!

I was actually referring to finding out what perl modules were installed. Thanks for the details regarding the apache modules, I will bear those procedures in mind when I need to find those!

qslack
08-28-2001, 05:16 PM
Try this:

http://www.keller.com/perladv/3/find.html

spock
08-29-2001, 12:52 PM
Here's an elegant script which also show Perl and module versions:


#!/usr/bin/perl -w

use ExtUtils::Installed;

my $installed = ExtUtils::Installed->new();
$ver = $installed->version('Perl');
printf "the Perl version is $ver\n";
foreach my $module (grep(!/^Perl$/,$installed->modules()))
{
my $version = $installed->version($module) || "unknown";
print "$module, version $version\n";
}
exit;

You need the Extutils::Installed module for this to work, but that's standard - at least in newer Perl versions.

Brad
08-29-2001, 09:40 PM
Here's a nice script that shows what you need and more. Easy installation and free.

See the demo here:
http://www.scriptsolutions.com/programs/free/perldiver/perldiver.cgi