Forum und email

apache_get_modules

(PHP 4 >= 4.3.2, PHP 5)

apache_get_modules — 불러진 아파치 모듈의 목록을 얻습니다.

설명

array apache_get_modules ( void )

이 함수는 불러진 아파치 모듈을 나타내는 배열을 반환합니다.

Example#1 apache_get_modules() example

<?php
print_r
(apache_get_modules());
?>

위 예제는 다음과 비슷한 출력을 합니다:

Array
(
    [0] => core
    [1] => http_core
    [2] => mod_so
    [3] => sapi_apache2
    [4] => mod_mime
    [5] => mod_rewrite
)