开发者

How to get the list of apache modules enabled with php

开发者 https://www.devze.com 2023-03-16 13:32 出处:网络
I have tried this <?php print_r(apache_get_modules()); ?> and got this Fatal error:Call to undefined function apache_ge开发者_运维问答t_modules() in

I have tried this

<?php

print_r(apache_get_modules());

?>

and got this

Fatal error:  Call to undefined function apache_ge开发者_运维问答t_modules() in

Why the error for built in function and how to get list of modules


The manual page contains details about the PHP and Apache version that support apache_get_modules().

You must be running PHP >= 4.3.2 and using Apache 2 handler API, or PHP >= 5.0 and Apache 1 or Apache 2 filter API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号