mysqli扩展名丢失.请检查您的PHP配置 [英] The mysqli extension is missing. Please check your PHP configuration

查看:86
本文介绍了mysqli扩展名丢失.请检查您的PHP配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我浏览了所有与该问题相关的论坛,但我的问题无济于事.我有php5,phpMyAdmin和MySQL的apache2.2.我没有注释扩展名,我已经检查了我的phpinfo()并且mysqli没有出现.我的配置目录应该存在,并且仍然不会加载.

I have looked through all of the forums that I could find relevant to this question and my problem yet nothing works. I have apache2.2 with php5, phpMyAdmin, and MySQL. I have uncommented the extension, I have checked my phpinfo() and mysqli does not come up. My config directory is where it should be and it still will not load.

推荐答案

  1. 找出使用了哪个php.ini .
  2. 在php.ini文件中的这一行:

  1. Find out which php.ini is used.
  2. In file php.ini this line:

extension=mysqli

  • 替换为:

  • Replace by:

    extension="C:\php\ext\php_mysqli.dll"
    

  • 重新启动apache
  • 这篇关于mysqli扩展名丢失.请检查您的PHP配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆