In this post, I will show you how to check what all modules are loaded on your Apache server, then you can use the following command.
Open the terminal and type the following command.
In my case httpd worked for Centos (.rpm supported system) and apache2ctl worked for Ubuntu (debian system). Either one should work for you and it will list the installed packages(both DSO and Static) on Apache server.
Stay Digified !!