Removing Apache modules

  • Answered
Hi, I have a VPS account. I'm trying to remove some of the default Apache modules. I see that all but a couple of them are compiled in. I've used EasyApache, but didn't see a place where I could select/deselect Apache modules. Is that possible, and if so, how would I do it?

I've edited this to add that I do see a section in EasyApache called "Apache Built-in Modules." But there are only 15 items checked there, including the MPM, etc., but if I do "httpd -l" it lists about 40 modules.
Hello 3abnwebmaster, and thanks for you question. Was there a specific reason you were interested in disabling some of the default Apache modules? In most cases it's not necessary or recommended in case somewhere down the road a site you run ends up needing one of them. If you were interested in stripping out some of the default Apache modules, then you can do this with EasyApache. It sounds like you got this far, except you only were looking at the short list of options. You would need to use the Exhaustive options list in order to see everything being loaded into Apache. You would have been on step 4 of EasyApache which is Short Options List, there are about 18 items here. Scroll to the bottom of the page and click on Exhaustive Options List if you're running EasyApache from WHM. To see exactly what I'm talking about, you can check out our article on installing the mbstring extension with EasyApache, and check out Step #7. This article goes over running EasyApache from the command line, but the same steps and options apply if you're doing it in WHM. If you're unable to find the specific Apache module that you're trying to disable from here. Please let us know exactly which ones you're trying to disable. I hope that helps and answers your question. Please let us know if you have any further questions at all. - Jacob