Fatal error: Call to undefined function mb_detect_encoding() in C:\apache\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc on line 177

后端 未结 2 590
天涯浪人
天涯浪人 2020-12-12 01:55

So I\'m trying to get phpmyadmin running on windows 7, and I\'ve gone through and installed all the proper programs/files (apache, mySQL, php, etc..) and i have the phpmyadm

相关标签:
2条回答
  • 2020-12-12 02:32

    The issue was caused by some of the extensions being blocked and the extension directory not being fully set.

    In the php.ini file extension_dir= needs to be set to "C:\php\ext" or whereever the php ext file is located. Also the following extensions need to be uncommented in the php.ini file as well

    extension=php_gd2.dll extension=php_mbstring.dll extension=php_exif.dll extension=php_mysqli.dll

    Another thing that helps is to go in to the php\ext folder, right click on each of the above exts and select unblock and make sure they are not set to read-only.

    0 讨论(0)
  • 2020-12-12 02:39

    Rename the php.ini-development to php.ini and enable/add

    extension=mysqli.dll
    extension=mbstring.dll 
    

    Do restart apache after this change

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