I'm trying to use php to get the list of loaded apache modules using apache_get_modules()
, but I get an error that this function is undefined.
From searching it seems the problem is that
this only works when PHP is installed as an Apache module. This will not function when using PHP as CGI (ex: suPHP)
I'm not sure if this is the case, but I'm on shared hosting. Any ideas how to find out the list of loaded apache modules, preferably with php, but I'm open to suggestions.