欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2022-06-15 20:17:53
...
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"