by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Configuration file syntax check (run syntax check for config files)

apachectl -t
Syntax OK

Show all loaded modules (show all loaded modules)

-M is equivalent to -t -D DUMP_MODULES.

apachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
slightly...
proxy_ajp_module (shared)
python_module (shared)
ssl_module (shared)
Syntax OK

Display modules compiled into Apache Server.

apachectl -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

Tags: linux

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


linux

Generate ssh key pair without password query

Sometimes it is necessary to generate an ssh key pair for automatic configuration. There is no password query in the command line, and an ssh key pair is generated.

linux

How to install the monitor tool htop on CentOS

Htop is a free (GPL) ncurses-based program monitor tool for Linux. It is similar to top, but allows you to scroll vertically and horizontally, so you can see the full command line running on the system, And you can view them as program trees, select multiple programs and operate them.

php,linux

WebShell Function Introduction and Precautions

I suddenly wanted to introduce what is WebShell, so I found one on the Internet. Its functions are quite good. But I still wanted some features, so I spent three nights making some small optimizations for him. If you haven't heard of WebShell yet, take a look at this video. If you like my optimized version, please give me a like, thank you.