Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: ashwinisanth (---.wifi.nat.warwick.ac.uk)
Date: June 07, 2017 10:39AM

1. Windows version

windows 10 - 64 bit.

2. Version WampServer

Wampserver 64 bits(x64) 3.0.6

3. Apache Version

Apache 2.4.23

4. PHP Version

PHP 5.6.25

5. MySQL Version

MySQL 5.7.14

6. WampServer icon

Green

7.In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?

No localhost

8. Do you have access to localhost (Homepage WampServer)?

Yes,my localhost homepage opens without any error.

8a. If so, is there an error message at the bottom of the page?

Yes ,I got an error in the bottom of the page as

*** ERROR *** The PHP configuration loaded file is: - should be:

c:/wamp64/bin/apache/apache2.4.23/bin/php.ini or c:/wamp64/bin/php/php5.6.25/phpforapache.ini

You must perform: Right-click icon Wampmanager -> Refresh

9. Do you have access to phpMyAdmin?

No, I am getting error message while trying to open the phpmyadmin as

10. If you refer to an error message, please include the EXACT wording of the error in your post?

Fatal error: Call to undefined function mb_detect_encoding() in

C:\wamp64\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177

11. If you use an Antivirus and / or Firewall, please include the names of these?

Windows Defender

12. What is the full path to the installation of WampServer?

c:\wamp64

13. If you have one or more Virtual Hosts defined, please show their definition(s)

No

1.I am getting error while trying to open my phpmyadmin saying fatal error:Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp64\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177


2.I have got an error in php extensions instead of showing green tick it showed me triangle with exclamatory
mark in it but I solved it by copying and saving my php.ini file from

c:\wamp64\bin\php\php5.6.25 to c:\wamp64\bin\apache\apache 2.4.23\bin

and restarted my computer it worked the php extension turned green but I have to do it every time whenever I switch my laptop off and make it on.

Please help me to solve those errors.

Thanks in advance.

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: RiggsFolly (Moderator)
Date: June 07, 2017 01:41PM

Did you install WAMPServer as suggested using the Administrator account?

This sounds like either something didnt happen in the install because it did not have Admin rights, or you are not running it with Admin rights.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: ashwinisanth (---.wifi.nat.warwick.ac.uk)
Date: June 07, 2017 03:30PM

I am running my wamp server as a administrator .



Edited 1 time(s). Last edit at 06/07/2017 03:31PM by ashwinisanth.

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: Otomatic (Moderator)
Date: June 07, 2017 04:22PM

Hi,

It seems that your system does not support symbolic links (SYMLINK).

Open a command window (as an administrator) on the folder:
c:\wamp64\bin\apache\apache 2.4.23\bin
and type
dir /al
and put here the result of the command.

Note: If you type "dir /al | clip" the result of the command will be directly put into the clipboard.

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.0.9 32 bit - Apache 2.4.27 - PHP 7.1.8/7.0.22/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.7
Wampserver 3.0.9 64 bit - Apache 2.4.27 - PHP 7.1.8/7.0.22/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.7
PhPMyAdmin 4.7.3 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: ashwinisanth (---.wifi.nat.warwick.ac.uk)
Date: June 08, 2017 09:49AM

When I tried to open the command window as a administrator and I found it as below

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>

I can't find c:\wamp64\bin\apache\apache 2.4.23\bin


Please help me with it .

Thanks in advance.

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in Phpmyadmin
Posted by: RiggsFolly (Moderator)
Date: June 08, 2017 01:03PM

Good lord!

cd \
cd wamp64\bin\apache\apache 2.4.23\bin
dir /al


It is sounding very much like you may have your disk formatted as FAT32.

Check this. If you dont know how, read this [pc.net]

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.