I'm using Uniform Server with PHP 7.2 and upon running a php page I made I get this error.
Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding()
When I try to enable the mbstring
php module (and other modules) through the graphical user interface I get this.
So when I do it manually, my php_production.ini
looks like this. I have used Uniform Server to select that php settings file.
extension=gd2
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
So why do I still get the error if I have enabled the modules manually via the text editor?
Below is the contents of C:\Users\Documents\UniServerZ\core\php72\extensions
The developer of Uniform Server managed to fix the problem, saying so in this post.