phpMyAdmin mbstring error

前端 未结 30 1827
渐次进展
渐次进展 2020-12-05 04:25

Whenever I try to enter my phpMyAdmin, it gives me this error:

The mbstring extension is missing. Please check your PHP configuration.

I\'v

相关标签:
30条回答
  • 2020-12-05 04:35

    I recently updated from PHP 5.4.44 to PHP 5.6.12 on my Windows 8.1 OS and got this phpMyAdmin missing mbstring error message.

    After trying the above suggestions, none of which worked for me, I discovered version 5.4.44 placed the DLL extensions in the PHP root directory whereas version 5.6.12 placed them in the PHP\ext subdirectory.
    All very fine except unfortunately someone forgot to change the php.ini accordingly. So two possible solutions:

    1. Copy the DLL extensions from the ext sub-directory into the PHP root directory, or
    2. Edit the php.ini file to call all the DLL extensions from the ext sub-directory.

    I chose the easier first and phpMyAdmin now works fine.

    0 讨论(0)
  • 2020-12-05 04:36

    Before sometime I also had the same problem. I have tried replacing the .dll file but no result. After some debugging I found the solution.

    I had this in my php.ini file:

    extension_dir = "ext"

    And I'm getting mbstring extension missing error. So I tried putting the full path for the extension directory and it works for me. like:

    extension_dir = "C:\php\ext"

    Hope this will help.

    Cheers,

    0 讨论(0)
  • 2020-12-05 04:36

    Another reason for this problem is Php version. When I changed the running PHP version to 7.0.0, problem has gone.

    0 讨论(0)
  • 2020-12-05 04:36

    Depending on you OS, you might need to install additional packets, e.g. php5-mbstring in SLES Linux.

    0 讨论(0)
  • 2020-12-05 04:37

    My case was like this

    Strangely, I noticed that the php.ini file that WAMP was using wasn't the one in the php directory, but rather was referencing a php.ini file in the bin directory... I copied my php.ini file to wamp\bin\apache\apache2.4.17\bin directory, restarted the wamp services and PHPMyadmin was off and running...

    Thanks I solved the problem

    0 讨论(0)
  • 2020-12-05 04:37

    Using xampp, this will work (php7 has been extracted to the xampp\php directory):

    Make the following changes in the php.ini:

    1. uncommend (remove the ;)

    ;extension=php_mbstring.dll

    1. uncommend (remove the ;)

    ;extension=php_mysqli.dll

    1. set the path to the extention Directory

    extension_dir = "ext"

    to the full path, for example:

    extension_dir = "C:\xammp\php\ext"

    Additional, change the xampp-settings in the httpd-xampp.conf:

    1. change

    LoadFile "C:/xampp/php/php5ts.dll"

    to

    LoadFile "C:/xampp/php/php7ts.dll"

    1. change

    LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"

    to

    LoadModule php7_module "C:/xampp/php/php7apache2_4.dll"

    1. change all appearance (3 times) of

    IfModule php5_module

    to

    IfModule php7_module

    That's it.

    0 讨论(0)
提交回复
热议问题