With EasyApache 4, administrators can install multiple PHP versions on their server(s). Each version has its own compatible packages and it can be difficult keeping track of every extension and module that is installed.
The WHM > Software > EasyApache 4 interface offers a very global view on the packages that have been installed, as well as packages are available for installation. However, this is not ideal for users wanting a simpler preview of the installed PHP extensions.
From the command line, an administrator can quickly see which extensions are being loaded by calling each specific PHP binary directly. These exist in the following directory, where ea-php## correlates to a PHP version (ie - ea-php73 is for PHP 7.3).
An example of this output can be found below:
# /opt/cpanel/ea-php73/root/usr/bin/php -m