Check whether a PHP extension is loaded
check if php module is installed | missing php extension | is imagick enabled | php | modules | extensionsphp -m | grep -i imagickLists all loaded PHP and Zend modules and filters for the given name. If there is no output, the extension is not active for this PHP binary. Useful when an application or WordPress Site Health reports a missing extension.
Note: For a Plesk PHP version, use the full path, for example /opt/plesk/php/8.3/bin/php -m. CLI and FPM sometimes load different ini files.
Also searched as
- check if php module is installed
- missing php extension
- is imagick enabled