I'm running Ubuntu 20.04, and using PHP 7.4.
During a phpBB installation, it was reported "In order for phpBB to function correctly, the PHP mbstring extension needs to be available." I was able to install it; sudo apt list | grep mbstring reports php7.4-mbstring/focal,now 7.4.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [residual-config].
However, phpinfo.php reports Multibyte decoding support using mbstring disabled in the exif section. phpinfo.php also reports Loaded Configuration File /etc/php/7.4/apache2/php.ini.
I edited this .ini file to uncomment ;extension=mbstring in the Dynamic Extensions section, and restarted apache. However, phpinfo.php still reports the extension is diabled. I even rebooted the server, to no avail. What am I missing?
Well, I guess the right package was not installed; this did the trick:
sudo apt-get install php7.4-mbstring. This delivered mbstring.so to the 20200930 directory, and phpinfo.php reports it enable.