首頁 >後端開發 >php教程 >[php]php连mysql出错:Call to undefined function mysql_connect()

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

WBOY
WBOY原創
2016-06-23 14:30:001060瀏覽

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"

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn