How do I see the extensions loaded by PHP?
Solution 1:
Running
php -mwill give you all the modules, and
php -iwill give you a lot more detailed information on what the current configuration.
Solution 2:
Run command. You will get installed extentions:
php -r "print_r(get_loaded_extensions());"
Or run this command to get all module install and uninstall with version
dpkg -l | grep php5
Solution 3:
You want to run:
php -m
on the command line,
or if you have access to the server configuration file open
/etc/php5/apache2/php.ini
and look at all the the extensions,
you can even enable or disable them by switching between On and Off like this
<Extension_name> = <[On | Off]>