apache_get_modules — 获得已加载的Apache模块列表
参数
此函数没有参数。
返回值
包含已加载的Apache模块的数组.
示例
print_r(apache_get_modules());
以上示例的输出类似于:
Array
(
[0] => core
[1] => http_core
[2] => mod_so
[3] => sapi_apache2
[4] => mod_mime
[5] => mod_rewrite
)