How to confirm apche has DSO support
To confirm whether your apache was configured with Dynamic Shared Object support check for
mod_so.c in your your httpd</p>
mod_so.c in your your httpd</p>
[root@nagios php]# /usr/local/apache/bin/httpd -l | grep mod_so.c
mod_so.c
To Find out php modules compiled in php use
php -m