V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
wxclx
V2EX  ›  Linux

在 CentOS 7 上安装 phpMyAdmin 为什么出现 undefined function __()错误?

  •  
  •   wxclx · Mar 30, 2016 · 4488 views
    This topic created in 3688 days ago, the information mentioned may be changed or developed.

    Fatal error: Call to undefined function __() in /var/www/html/phpMyAdmin/libraries/sanitizing.lib.php on line 135

    错误指向的语句是 ‘[dochelpicon]' => PMA\libraries\Util::getImage('b_help.png', __('Documentation')), );

    安装时只是解压出,然后复制到网站根目录下,未对源代码进行修改; php 版本是 5.6.19; phpMyAdmin 的版本是 4.6.0;

    4 replies    2016-03-30 21:33:09 +08:00
    wujunze
        1
    wujunze  
       Mar 30, 2016
    先用 php -m 看看你的 php 拓展够不够
    vibbow
        2
    vibbow  
       Mar 30, 2016 via Android
    最新的 4.6.0 bug 很多,连建边都保存
    用 4.5 最后一版就行了
    vibbow
        3
    vibbow  
       Mar 30, 2016 via Android
    //报错
    julyclyde
        4
    julyclyde  
       Mar 30, 2016
    下划线貌似是 gettext 吧,可这是个内置函数啊我记得
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   755 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 21:16 · PVG 05:16 · LAX 14:16 · JFK 17:16
    ♥ Do have faith in what you're doing.