search
Homephp教程php手册解决phpmyadmin中缺少mysqli扩展问题的方法

解决phpmyadmin中缺少mysqli扩展问题的方法

Jun 13, 2016 am 11:52 AM
mysqliphpmyadminOpenExpandmethodhourLacksolve

当你打开phpmyadmin时可能会报这样的一个错误,

缺少 mysqli 扩展。请检查 PHP 配置。 文档

你可以按照以下这几种方法进行检查:

1.检查php.ini ;extension=php_mysqli.dll是不是已经启用 也就是去掉前面的;

2.检查php.ini extension_dir 地址是不是指向了php目录的ext目录下这步是关键 我就是处在这一步的问题上 我把 extension_dir = "e:\www\php54\ext" 设置成了自己的目录 就可以了

3.检查lib_mysql.dll有没有拷贝到windows目录下  这个dll文件有多种形式的 有没加下划线的libmysql_d.dll 因此要注意自己看

4.检查php安装目录ext目录下,php_mysqli.dll文件是不是存在 网上也说明 最好使用zip包解压 不会出现文件丢失

5.查看php详细页面,看看mysql和mysqli是不是已经启动这一步就是检查你有没有开启mysqli的
没有开启的话 你查找mysqli关键字是无法再php详细页面看到的

最后要注意!!!!重启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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor