apache web server loaded module php function example - apache_get_modules()
apache-web-server-loaded-module-php-function-example.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>apache web server loaded module php function example - apache_get_modules()</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Md Iqbal Hosan">
<meta name="title" content="apache web server loaded module php function example - apache_get_modules()">
<meta name="keywords" content="php, example, code, array, function, apache, string, apache_get_modules">
<meta name="description" content="apache web server loaded module php function example - apache_get_modules()">
<style>
h2, h4{background:orange; color:#000092;}
h2{ padding:3px; margin:3px; font-size:21px;}
h4{ padding:2px; margin:2px; font-size:18px;}
p{padding:2px; margin:2px; color:#0099FD;}
body{ background:#FFFFFC;}
</style>
</head>
<body>
<h2>apache web server loaded module php function example - apache_get_modules()</h2>
<pre>
<?php
/*
----------------------------------------------------------------
let say we want to know all loaded module by apache web server
we can do that by using apache_get_modules php function
----------------------------------------------------------------
*/
echo "<h4>Apache web server loaded modules :</h4>";
$loadedModulesArray = apache_get_modules();
print_r($loadedModulesArray);
?>
</pre>
</body>
</html>

No comments:
Post a Comment
leave your comments here..