phpmyadmin error with sanitizing.lib.php

2019-06-14 02:44发布

I am having a problem getting phpmyadmin to work correctly on my desktop. Every time I try running phpmyadmin, I get the following error:

Fatal error: Call to undefined function __() in C:\Apache24\htdocs\phpMyAdmin\libraries\sanitizing.lib.php on line 135

I was wondering if anyone has advise on how to make phpmyadmin work correctly. I have Apache v2.4.1.8, php v5.5.33, and phpMAdmin v4.6.0 installed and according to the tutorials I followed, everything works correctly until I get to the phpMyAdmin.

If you need any other info, I will reply what I can.

3条回答
地球回转人心会变
2楼-- · 2019-06-14 02:59

In addition to making sure extension=mbstring.dll is enabled, you should make sure the extension path is correct. By default, the extension path is set "/ext" in the php.ini file. However, when install httpd as a service, the relative path may be incorrect. So, you should edit the extension path to an absolute path, such as "C:\Program Files\PHP\v5.6.21\ext".

查看更多
乱世女痞
3楼-- · 2019-06-14 03:04

This is a permissions error.

You need to

  • Go into php.ini file and make sure extension=mbstring.dll is enabled.

  • Restart your webserver.

查看更多
看我几分像从前
4楼-- · 2019-06-14 03:08

In the newest php versions the "extension_dir" path is not enabled initial. So maybe it helps... :)

screenshot

查看更多
登录 后发表回答