phpMyAdmin mbstring error

前端 未结 30 1831
渐次进展
渐次进展 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:37

    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...

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

    The version of phpadmin you have installed is not compatible with the version of apache. Install the compatible version and you should be fine

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

    just copy the php.ini file from C:\wamp\bin\apache\apache2.4.17\bin to C:\wamp\bin\apache\apache2.4.17\bin and then again restart apache server.. it will work fine.

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

    The program can't start because php_mbstring.dll is missing from your computer. Try to fix it.

    i use appserver to localhost and my server: C:/AppServ/www/dvd2/variables.php

    Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
    Apache/2.2.8 (Win32) PHP/5.2.6
    
    0 讨论(0)
  • 2020-12-05 04:44

    Solved it.

    I tried all of the solutions above but it still did not work. I'm currently using WAMP to launch the mysql server. When I tried to open the "php.ini" file with the WAMP panel, it said that it did not exist and asked me to create a new "php.ini" in the location, "C:\wamp\bin\apache\apache2.4.17\bin". Once I created this new "php.ini" file, I located the existing "php.ini" file which was in the path "C:\wamp\bin\php\php5.6.15", and cloned it. I then pasted the clone in the previous path where it had asked me to create the "php.ini" file.

    Hope this helped.

    0 讨论(0)
  • 2020-12-05 04:45
    1. install mbstring and restart your apache:

      sudo apt-get install php-mbstring
      sudo service apache restart
      

    then remove ; from your php.ini file:

    ;extension=php_mbstring.dll
    

    to

    extension=php_mbstring.dll
    

    If it still doesn't work..remove your php setup, without removing the databases from your phpmyadmin. Reinstall it.

    NB: * if you want to remove all, all mention the one you need to.

    sudo apt-get remove php* 
    

    Then install the php and modules of the php version that you need. here, php 7.1:

    sudo apt-get install php7.1 php7.1-cli php7.1-common libapache2-mod-php7.1 php7.1-mysql php7.1-fpm php7.1-curl php7.1-gd php7.1-bz2 php7.1-mcrypt php7.1-json php7.1-tidy php7.1-mbstring php-redis php-memcached
    

    restart your apache and check the php version.

    sudo service apache restart
    php -v
    

    when all this is done, execute the following command to enable mbstring forcefully and restart your apache.

    sudo phpenmod mbstring
    sudo service apache restart
    

    Hope it helps. It did to me :)

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