php : How to find which modules are compiled in

“php -m” provides the list of all compiled in modules.

php -m | grep -v -e Modules] -e ^$

Got it from php.net (http://www.php.net/manual/en/install.unix.apache2.php)