Home > Database > Mysql Tutorial > body text

PHP连接MySQL报错:Fatal error: Call to undefined function my_MySQL

WBOY
Release: 2016-06-01 13:35:50
Original
829 people have browsed it

bitsCN.com

 新安装了一台windows2008R2,配置php_mysql_Apache环境,系统是64位的,遇到很多麻烦。

都下载了64位的压缩包才解决。最后php连接mysql错误,Fatal error: Call to undefined function mysql_connect() 

百度,google也找了很久,最后也解决了。详细:其他php.in和apache的httpd.conf配置不用说了,最后是 把php中的libmysql.dll文件复制到Apache的bin里面,一测试,居然好了。 终于可以安心了。 

 

bitsCN.com
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