Home > Backend Development > PHP Tutorial > Fatal error: Call to undefined function mysql_connect() in E:appserverapach...

Fatal error: Call to undefined function mysql_connect() in E:appserverapach...

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:48:08
Original
1152 people have browsed it

php.ini已经设置,还是出现这样的错误,求助

回复内容:

php.ini已经设置,还是出现这样的错误,求助

没有安装 ext/mysql。或者是 php 版本太新,已经把 ext/mysql 给 deprecate 了。
施主改用 mysqli 或者 PDO 吧。

5.5 开始默认禁用 mysql* 系列函数,请改用 mysqli*, PDO.

Related labels:
php
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template