title: Is it possible to find out if an Apache module is loaded in PHP
body: <p>I'm looking at finding a way of checking if an apache module is loaded within a PHP script. The module in question is <code>mod_xsendfile</code> so that I can determine if I can use the <code>X-SENDFILE</code> header to output a secure file to the browser if available, or if I need to use readfile(). Any help is appreciated</p>