array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.apache-get-modules.php', 1 => 'apache_get_modules', ), 'up' => array ( 0 => 'ref.apache.php', 1 => 'Fonctions Apache', ), 'prev' => array ( 0 => 'function.apache-child-terminate.php', 1 => 'apache_child_terminate', ), 'next' => array ( 0 => 'function.apache-get-version.php', 1 => 'apache_get_version', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/apache/functions/apache-get-modules.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)
apache_get_modules — Retourne la liste des modules Apache chargés
Cette fonction ne contient aucun paramètre.
Un tableau contenant les modules Apache chargés.
Exemple #1 Exemple avec apache_get_modules()
<?php
print_r(apache_get_modules());
?>
Résultat de l'exemple ci-dessus est similaire à :
Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite )