由于此错误,我无法在apache上运行PHPmyadmin

时间:2016-04-02 17:26:57

标签: php apache phpmyadmin

当我尝试访问localhost / phpmyadmin时会出现这种情况。我试过多次重启Apache和我的浏览器。我只是第一次设置所有这些,所以我不确定如何表达我的问题,而且我真的不明白错误告诉我的是什么,所以对此的任何澄清都将非常感激。

Fatal error: Uncaught Error: Call to undefined function __() in C:\Apache\htdocs\phpmyadmin\libraries\sanitizing.lib.php:135
Stack trace:
#0 C:\Apache\htdocs\phpmyadmin\libraries\Message.php(586): PMA_sanitize('Undefined index...', false, true)
#1 C:\Apache\htdocs\phpmyadmin\libraries\Message.php(650): PMA\libraries\Message::decodeBB('Undefined index...')
#2 C:\Apache\htdocs\phpmyadmin\libraries\Error.php(167): PMA\libraries\Message->getMessage()
#3 C:\Apache\htdocs\phpmyadmin\libraries\ErrorHandler.php(157): PMA\libraries\Error->getHash()
#4 C:\Apache\htdocs\phpmyadmin\libraries\ErrorHandler.php(121): PMA\libraries\ErrorHandler->addError('Undefined index...', 8, 'C:\\Apache\\htdoc...', 285, true)
#5 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(285): PMA\libraries\ErrorHandler->handleError(8, 'Undefined index...', 'C:\\Apache\\htdoc...', 285, Array) #6 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(312): PMA_getPHPDocLink('book.mbstring.p...')
#7 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(954): PMA_warnM in C:\Apache\htdocs\phpmyadmin\libraries\sanitizing.lib.php on line 135

我对编程非常陌生,所以如果以前解决了这个问题我会道歉。我仍然不确定如何说出我的许多问题以获得我正在寻找的结果。

1 个答案:

答案 0 :(得分:0)

我建议你遵循这个建议 Unable to open phpmyadmin directory: Call to undefined function

它对我有用。

  

[...]确保在icd9_code =(select icd9_code from paragon_rpt.dbo.TSM910_ICD9_REF where icd9_int_id = (select Top 2 (icd9_int_id) from paragon_rpt.dbo.TPM317_VISIT_PROCEDURE where vst_int_id =a.vst_int_id and icd9_int_id in (Select icd9_int_id from SGMH_Reports.dbo.NHSN_ICD10_2) )), 文件中启用以下扩展程序:

     
    

php.ini
    extension=php_bz2.dll
    extension=mbstring.dll

  
     

这样做是为了验证extension=mysqli.dll属性是否也已正确设置。请记住使用extension_dirhttpd -k stop完全重新启动Apache,以便对 php.ini 或其他配置文件所做的更改生效,因为httpd -k start有时不会#39}生效; t传播变化。