Home >Backend Development >PHP Tutorial >[php]php连mysql出错:Call to undefined function mysql_connect()

[php]php连mysql出错:Call to undefined function mysql_connect()

WBOY
WBOYOriginal
2016-06-23 14:30:001066browse

php帮助里

extension_dir = - The extension_dir needs to point to the directory where PHP extensions files are stored. The path can be absolute (i.e. "C:\PHP\ext") or relative (i.e. ".\ext"). Extensions that are listed lower in the php.ini file need to be located in the extension_dir.

应该改为

extension_dir = "c:/php/ext"

Statement:
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