title: Detect if Mod_Security Is Installed With PHP?
body: <p>Is there any simple way to detect if mod_security is installed &amp; enabled using just PHP? Ideally without any exec() terminal type commands to be executed. </p>
  
  <p>Some people have recommended using apache_get_modules() but this specific web-host does not allow it to show. This is also mentioned by other users here: <a href="http://www.devcomments.com/apache_get_modules-solution-to130703.htm" rel="noreferrer">http://www.devcomments.com/apache_get_modules-solution-to130703.htm</a></p>