webjin
V2EX  ›  问与答

phpmyadmin 报错

  •  
  •   webjin · Oct 16, 2014 · 2725 views
    This topic created in 4232 days ago, the information mentioned may be changed or developed.
    win2008+iis7.5+php5.27+mysql.51
    phpMyAdmin - Error

    The mysqli extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help" /></a>
    Supplement 1  ·  Oct 16, 2014
    解决了,php.ini要放到 php本身目录下,还要另外复制2份分别到windows 和systems32下
    8 replies    2014-10-17 09:20:13 +08:00
    webjin
        1
    webjin  
    OP
       Oct 16, 2014
    mysql连接测试语句Fatal error: Call to undefined function mysql_connect() in C:\inetpub\wwwroot\mysql.php on line 2
    6IbA2bj5ip3tK49j
        2
    6IbA2bj5ip3tK49j  
       Oct 16, 2014
    The mysqli extension is missing. Please check your PHP configuration.
    txlty
        3
    txlty  
       Oct 16, 2014
    扩展没开。php.ini 找
    ;extension=php_mysql.dll
    ;extension=php_mysqli.dll
    把前面分号去掉。其他需要用的扩展也一起去掉。然后重启IIS。
    webjin
        4
    webjin  
    OP
       Oct 16, 2014
    @txlty 我按照这个弄了。还是不行,网上说的版本太多了 一个说 是放到 把那些dll的文件放到 php\etx 一个是系统的那里
    webjin
        5
    webjin  
    OP
       Oct 16, 2014
    php.ini放到哪里也有2个版本 。
    Mac
        6
    Mac  
       Oct 17, 2014
    放到 windows/system32 下
    txlty
        7
    txlty  
       Oct 17, 2014
    两种版本的配置方法 是 因为php的版本问题。
    php 5.2.x需要向windows系统目录里拷几个文件。
    5.3以后的版本就不用了。php.ini放在php目录下就可以。
    weegc
        8
    weegc  
       Oct 17, 2014
    echo phpinfo();

    看有没有加载mysqli扩展
    还可以查看扩展文件夹路径 看位置对不对
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 21:51 · PVG 05:51 · LAX 14:51 · JFK 17:51
    ♥ Do have faith in what you're doing.