Home >Backend Development >PHP Tutorial > php_mysqli.dll的有关问题

php_mysqli.dll的有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 13:19:05869browse

php_mysqli.dll的问题
运行一个代码,出现Fatal error: Class 'mysqli' not found in C:\temp\PhPWeb\microblog\dao\UserDao.php on line 104

然后我把extension=php_mysqli.dll前面的分号去掉,重启apache然后所有的php都没法运行了,加回来前面的分号又可以运行了,求解

------解决方案--------------------
检查一下扩展目录内是否存在php_mysqli.dll文件...

------解决方案--------------------
运持phpinfo() 查看一下运行的库
------解决方案--------------------
配置一下 extension_dir = “php的安装目录/ext”;

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
Previous article: 登录用户地界别布 Next article: php MVC -Command