缺少 mysqli 扩展.请检查您的 PHP 配置 [英] The mysqli extension is missing. Please check your PHP configuration
本文介绍了缺少 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.
推荐答案
- 找出使用的是哪个 php.ini.
在文件 php.ini 中这一行:
- Find out which php.ini is used.
In file php.ini this line:
extension=mysqli
替换为:
Replace by:
extension="C:\php\ext\php_mysqli.dll"
这篇关于缺少 mysqli 扩展.请检查您的 PHP 配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文