For instance, on Ubuntu Xenial, I need to install the mbstring
PHP extension. I issue the command sudo apt-get install php-mbstring
to do so.
With dpkg
, I can see two packages related to the module: php-mbstring and php7.0-mbstring.
Did they get installed together? And if they're similar packages, how can I know which one is being used (or which one to use)?
apt show php-mbstring
. The answer is in the package description.php-mbstring
is the module andphp7.0-mbstring
the parent implementation of MBSTRING on top of it?