How to get the list of apache modules enabled with php

I have tried this




and got this

Fatal error:  Call to undefined function apache_get_modules() in

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

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

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.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply