How Do I Know What Php Modules Are Installed on Linux?
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...
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 php-ftp , using the grep command.
How do you check what PHP modules are enabled?
Modules can be enabled/disabled via the php5enmod tool ( phpenmod on later distros) which is part of the php-common package. To check if this extensions are enabled or not, you can create a php file i.e. info.
Must Read
How do I know what PHP extensions are installed?
The general command we will be using is php -m. This command will give you the full list of installed PHP modules/extensions.