How Do I Know What Php Extensions Are Installed Ubuntu?
Contents the General Command Is Php -M, Which Will Show You a List of All “Compiled” Php Modules. You Can Search for a Specific Php Module for Instance...
The general command is php -m , which will show you a list of all “compiled” PHP modules. You can search for a specific PHP module for instance php-ftp , using the grep command.
How do you check which PHP extensions are installed?
Are you looking for a particular extension? In your phpinfo(); , just hit Ctrl + F in your web browser, type in the first 3-4 letters of the extension you’re looking for, and it should show you whether or not its loaded.
How do I check if a PHP module is enabled?
Related: Enabling / disabling installed php modules
Modules can be enabled/disabled via the php5enmod tool ( phpenmod on later distros) which is part of the php-common package.