phpmyadmin的使用解决方案

WBOY
Release: 2016-06-13 10:16:58
Original
696 people have browsed it

phpmyadmin的使用
我刚学php,想使用phpmyadmin,可访问时显示
phpMyAdmin - 错误

缺少 mysql 扩展。请检查 PHP 配置。 文档
我试着按此方案解决:
缺少mysqli扩展 的解决办法
1.检查php.ini ;extension=php_mysqli.dll是不是已经启用 

2.检查php.ini extension_dir 地址是不是指向了php目录的ext目录下

 3.检查lib_mysql.dll有没有拷贝到windows目录下 

4.检查php安装目录ext目录下,php_mysqli.dll文件是不是存在

 5.查看php详细页面,看看mysql和mysqli是不是已经启动

但是还是一样的错误,请大侠帮帮忙,小弟这里有礼了

------解决方案--------------------
所有项目检查正常?还是有不正常已经修正?还是提示错误?
自己写个 mysqli测试一下链接数据库看看是否也提示出错?
------解决方案--------------------
1、检查 phpinfo() 返回的页面中是否存在 mysql 或 mysqli
2、若没有,去掉 php.ini 中 extension=php_mysql.dll 或 extension=php_mysqli.dll
前面的分号。保存后重新启动 apache 。回到第一步
3、若还没有,查看 Loaded Configuration File 的值是否是你修改的文件,若不是则对正确的文件进行第二步



------解决方案--------------------
《学习 PHP&MYSQL》里面有专门讲的

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!