by Devin Yang

建立于: 8年前 ( 更新: 8年前 )

组态档语法检查 (run syntax check for config files)

apachectl -t
Syntax OK

显示所有加载的模块 (show all loaded modules)

-M相当於-t -D DUMP_MODULES。

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

显示编译进Apache Server中的模块.

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

Tags: linux

Devin Yang

文章内容无法一一说明,如果您有什么不了解处,欢印提问哦:)

No Comment

Post your comment

需要登入才可留言!

类似文章


linux, mac, terminal, tips

再Linux或Mac的终端机如何清除目前的命令行的输入?

再Linux或Mac的终端机如何清除目前的命令行? 例如打错了一堆命令,打错了想清除从打, 千万要跟我以前一样,用倒退键慢慢杀了,我们可以用......

linux

ubuntu找不到add-apt-repository命令

ubuntu找不到add-apt-repository命令

linux,cli

如何用date命令,显示昨天的日期

在MacOS或Linux上命令是不同的,但是可以达到相同的效果。 我们来看看如何用date命令显示昨天的日期。