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 !!