Apache 함수 apache_get_modules
(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)
apache_get_modules — Get a list of loaded Apache modules
설명
apache_get_modules(): array
로드된 Apache 모듈 목록을 가져옵니다.
매개변수
이 함수에는 매개변수가 없습니다.
반환 값
로드된 Apache 모듈의 배열입니다.
Examples
예제 #1 apache_get_modules() 예제
<?php
print_r(apache_get_modules());
?>
위의 예는 다음과 유사한 결과를 출력합니다.
Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite )