Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Like this titles say, can you install Apache modules with apt-get? or do i have to find the .so file and configure it all manually? I thought i saw that some could, didn't know if that applied to all modules. I'm specifically looking for all the php modules. Right now i'm trying to install mod_fcgid. Any ideas? I'm using Ubuntu Server 12.04, I believe, on an amazon EC2 micro instance running Virtualmin.

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

Use the command apt-cache search {search terms} to find a package name for installation. In your case you are probably looking for libapache2-mod-fcgid. You can get more details about a package with the command apt-cache show {packagename}.

$ apt-cache search mod fcgid
libapache2-mod-fcgid - an alternative module compat with mod_fastcgi
libapache2-mod-fcgid-dbg - debugging symbols for mod_fcgid


$ apt-cache search mod php5
...
libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module)
libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter module)
...

Packages that are Apache modules typically have a name that is prefixed with libapacheN-mod-foo.

share|improve this answer
    
awesome! that helps so much you can't even imagine! –  LordZardeck May 9 '12 at 19:52
    
In case it is not known yet, also look at what a2enmod and a2dismod (once the packages with the modules themselves have been installed) are for, very comfortable way of managing it.. –  rackandboneman May 9 '12 at 22:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.