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
)