phpinfo里找不到mysql,在线=,该怎么处理

WBOY
Release: 2016-06-13 13:27:12
Original
861 people have browsed it

phpinfo里找不到mysql,在线=
win2008 r2 iis7.5 fastcgi php5.2.17 php5.5
在运行phpinfo的是信息,找不到MYSQL模块。
运行程序报错“Fatal error: Call to undefined function mysql_connect() in D:\website\head.php on line 4


php.ini里面

extension=php_mysql.dll
extension=php_mysqli.dll

已经开启,求救


------解决方案--------------------
你把dll 文件复制到 win2008的system32里去看看.
修改 php.ini后记得要重启iis的.
------解决方案--------------------
phpinfo 找到 load Configuration File 加载的文件与你改的php.ini是否为同一个。

另外,确认/php/ext/ 目录下有 php_mysql.dll 文件

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!