Search Results
Get a list of loaded Apache modules
The manual page contains details about the PHP and Apache version that support apache_get_modules(). You must be running PHP >= 4.3.2 and using Apache 2 handler API, or PHP >= 5.0 and Apache 1 or Apache 2 filter API.
Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite )
Examples Example #1 apache_get_modules () example <?php print_r(apache_get_modules()); ?>
Description apache_get_modules ( ) : array Get a list of loaded Apache modules.
apache_get_modules (PHP 4 >= 4.3.2, PHP 5, PHP 7) apache_get_modules — Get a list of loaded Apache modules Description apache_get_modules ( ) : array Get a list of loaded Apache modules. Return Values An array of loaded Apache modules.
Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite )
