Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding()
<p>I received the following error trying to acces <a href="http://localhost/phpmyadmin/" rel="nofollow">http://localhost/phpmyadmin/</a> :</p>

<pre><code>Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in C:\Apache24\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc:177 Stack trace: #0 C:\Apache24\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc(282): _encode('The %s extensio...') #1 C:\Apache24\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc(289): _gettext('The %s extensio...') #2 C:\Apache24\htdocs\phpmyadmin\libraries\core.lib.php(306): __('The %s extensio...') #3 C:\Apache24\htdocs\phpmyadmin\libraries\core.lib.php(961): PMA_warnMissingExtension('mbstring', true) #4 C:\Apache24\htdocs\phpmyadmin\libraries\common.inc.php(102): PMA_checkExtensions() #5 C:\Apache24\htdocs\phpmyadmin\index.php(13): require_once('C:\\Apache24\\htd...') #6 {main} thrown in C:\Apache24\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc on line 177
</code></pre>

<p>After reviewing similar topics here, I did the following:</p>

<ol>
<li>Checked (using info.php) the path of my php.ini file : 
Loaded Configuration File    C:\PHP\php.ini </li>
<li>Modified and uncommented the following lines in php.ini:

<ul>
<li>extension_dir = "c:\PHP\ext" (also tried "c:/PHP/ext")</li>
<li>extension=php_gd2.dll</li>
<li>extension=php_mbstring.dll</li>
<li>extension=php_exif.dll      </li>
<li>extension=php_mysqli.dll</li>
</ul></li>
<li>Tried both 32bits and 64bits dlls</li>
<li>Made sure that all the dll were in the c:/PHP/ext file and righ-clicked>properties>unblock each of them.</li>
<li>Restarted httpd.exe many time, rebooted the server too. </li>
</ol>

<p>Here is the content of my httpd.conf Apache config file : </p>

<p>Here is the content of my httpd.conf :</p>

<pre><code>LoadModule php7_module C:/PHP/php7apache2_4.dll

&lt;IfModule php7_module&gt;
    DirectoryIndex index.html index.php
    AddHandler application/x-httpd-php .php
    PHPIniDir "C:/PHP"
&lt;/IfModule&gt;
</code></pre>

<p>I keep receiving the same message with no clue how to solve it.</p>

<p>I am running windows 10, with Apache 2.4-64bits, PHP7-64bits and MysqlServer5.7. Apache is running fine, PHP too (no worries accessing info.php)</p>

<p>Thanks. </p>