Home > Backend Development > PHP Tutorial > 为什么小弟我配置的PHP5不支持MySQL

为什么小弟我配置的PHP5不支持MySQL

WBOY
Release: 2016-06-13 12:36:17
Original
821 people have browsed it

为什么我配置的PHP5不支持MySQL?
【软件】
OS: Windows Server 2008R2 DataCenter (X64)
MySQL:mysql-5.1.71
IIS: IIS7.5
PHP:php-5.2.17
ZendOptimizer:3.3.0

【现状】
1)已经在PHP.ini中启用了MySQL:
extension=php_mysql.dll
extension=php_mysqli.dll
2)libmysql.dll、 php_mysql.dll、php5ts.dll等都复制到C:\Windows\System32中了;
3)MySQL服务已经启动,使用客户端可以访问;
4)IIS已经配好,可以解析PHP;
5)php.ini文件位置没问题,位于C:\windows下;
6)IIS、操作系统均已重启过;

【问题】
问题1:PHPinfo显示MySQL尚未启用,PHP程序无法调用MySQL。
问题2:国庆一劫怎么过?

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