Home  >  Article  >  Database  >  缺少mysqli扩展请检查PHP配置_MySQL

缺少mysqli扩展请检查PHP配置_MySQL

WBOY
WBOYOriginal
2016-06-01 13:01:041953browse

安装了新的lamp,想打开数据库,结果出现了这种错误:

phpMyAdmin - 错误缺少 mysqli 扩展。请检查 PHP 配置。 缺少mysqli扩展请检查PHP配置_MySQL

class="icon" src="./themes/pmahomme/img/b_help.png" width="11" height="11" alt="文档" title="文档" />

解决办法:phpinfo()查看下是否有mysqli这个扩展,没有的话,去php安装目录下查看是否有mysqli.dll这个插件,没有的话,请去官方下载对应版本的扩展,如果有那么,查看php.ini有没有开启extension=php_mysqli.dll

 

如果没找到添加这句,重启apache服务,再看看是否正常

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn