<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.6 $ --> <refentry id="function.apache-get-modules"> <refnamediv> <refname>apache_get_modules</refname> <refpurpose>Get a list of loaded Apache modules</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>apache_get_modules</methodname> <void/> </methodsynopsis> <para> Get a list of loaded Apache modules. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An <type>array</type> of loaded Apache modules. </para> </refsect1> <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>5.0.0</entry> <entry> Became available when using Apache 1, or the PHP Apache 2 <emphasis>filter</emphasis> API. Before this time, it was only available when using the Apache 2 <emphasis>handler</emphasis> API. </entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>apache_get_modules</function> example</title> <programlisting role="php"> <![CDATA[ <?php print_r(apache_get_modules()); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite ) ]]> </screen> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->