[SOLVED] Difference between installing Apache httpd from "source" and "yum"
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Difference between installing Apache httpd from "source" and "yum"
I have default httpd server in /etc/httpd location. This came along with OS installation. In this httpd.conf file "LoadModule" are present with most of the modules enabled and modules folder in /etc/httpd/modules many modules are listed. But when i installed apache httpd from source using "./configure --prefix=/usr/local/apache --enable-shared=max --enable-module=rewrite --enable-module=so" "LoadModules"are commented out and there are no modules listed in modules folder in /usr/local/apache/modules ....
Do i need to place all the modules manually by installing them one by one like mod_jk.so
Recompile apache configuring it using --enable-mods-shared=all if you're making a shared build.
By configuring with enable-mods-shared you will compile and build shared modules.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
CentOS 5 :
httpd-2.2.2x-jason.1.<arch>.rpm is in the 'Utter Ramblings' repo.
The configure line is like : (ref. httpd.spec in httpd-2.2.20-jason.1.src.rpm)
--enable-mods-shared=all --enable-ssl --with-ssl --enable-distcache --enable-proxy --enable-cache --enable-mem-cache --enable-file-cache --enable-disk-cache --enable-ldap --enable-authnz-ldap --enable-cgid --enable-authn-anon --enable-authn-alias --disable-imagemap
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.