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

WBOY
Release: 2016-06-06 20:48:08
Original
1121 people have browsed it

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

回复内容:

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

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

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

Related labels:
php
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