Hiding array in apache_get_modules(); [closed]
- by John Smiith
i wan't to view all apache modules
i use script below
<?php
$amods = apache_get_modules();
print_r($amods);
This will output
Array
(
[1] => mod_win32
[2] => mpm_winnt
[3] => http_core
[4] => mod_so
[5] => mod_actions
[6] => mod_alias
[7] => mod_asis
[8] => mod_auth_basic
[9] => mod_authn_default
[10] => mod_authn_file
)
how to hide array ( ... i want to apache get modules like this
installed modules is
mod_php5
mod_authn_default
mod_userdir
etc