Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to see which modules are loaded in apache

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to check which modules are loaded by apache, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Background of the article:

When we were configuring apache, a question suddenly occurred to us: is there any way to see which modules are loaded in apache?

After searching around, the following results are obtained:

First of all:

Apache2/bin/apachectl-l

This is a module that has been compiled in apache at compile time and will naturally be loaded at startup.

In the other part, look at the LoadModule section of the configuration file (httpd.conf) of apach, such as:

LoadModule php5_module modules/libphp5.so

This section is also loaded when apache starts.

The two parts add up to all the modules that apache loads when it starts.

PS: I saw a classmate on the Internet saying

. / apachectl-t-D DUMP_MODULES

You can list all the loaded modules directly, but I can't do it here. I don't know if it's because of the environment or the apache version.

Thank you for reading this article carefully. I hope the editor will share how to see which modules loaded by apache are helpful to everyone. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report