Home > Backend Development > PHP Tutorial > Fatal error: Call to undefined function mysql_connect()解决方法

Fatal error: Call to undefined function mysql_connect()解决方法

WBOY
Release: 2016-06-13 13:46:32
Original
974 people have browsed it

Fatal error: Call to undefined function mysql_connect()
apache可正常访问,mysql在命令行下可正常访问,php只要不访问mysql都正常。
运行phpinfo(),但是找不到mysql项。
我的系统原代码没动过,从32位WIN7换成64位就出现上述问题。

我安装的Apache+PHP+MySQL+Zend组合套件 v2.0
下载地址http://xiazai.zol.com.cn/detail/33/329744.shtml

谢谢大家了。。。

------解决方案--------------------
装个WP SERVER
------解决方案--------------------

探讨

引用:

学习的话建议装个集成环境。


我是装的集成环境啊,可是集成环境出现
Fatal error: Call to undefined function mysql_connect()
换成x64没有集成环境呀。。。只有mysql有官方64位版本。
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