在使用phpmyadmin中我们有时会看到有这种提示无法载入mysqli扩展,下面我来总结解决办法。
mysqli为php的mysql扩展的加强版.性能比mysql系列函数要好的多.
1、首先装你的php目录下的php.ini-dist复制到C:WINNT(win2003,winxp,win98应该是相应的系统目录)下
2、将刚才的php.ini-dist后面的”-dist”去掉,再用记事本打开,搜索”php_mysqli.dll”去掉前面的”;”保存
3、将C\:phpext(此处应为你的php目录)目录下的php_mysql.dll复制到C:WINNT\system32目录下
4、拷贝 libmysql.dll入 C:windows\system32
对于php.ini文件
进入 C:PHP,将 php.ini-dist 复制一份放到 C:WINNT( Windows XP/2003 下为 C:Windows )内,改名为
php.ini,然后用记事本打开,利用记事本的查找功能搜索 extension_dir = "./",并将其路径指到你的 PHP 目录下
的 extensions 目录,比如:extension_dir = "C:PHPext";再搜索 register_globals = Off,将 Off 改成 On;
查找 ;extension=php_mysql.dll,将前面的引号“;”去掉。
2、手册中关于配置IIS的说明,将其中的“PHPsapiphp4isapi.dll”改为php目录下的“php5isapi.dll”
3、重要:在按照手册说明复制了php目录、ext(手册中对于php4x是extension,这里应该是ext)目录下的dll文件到
system32的基础上,再复制php目录下的libmysql.dll文件到system32下。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Zend Studio 13.0.1
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software