您的位置:首页 > 数据库 > MySQL

Call to undefined function mysqli_connect

2008-02-20 11:06 260 查看
you should be able to work with mysqli with this changes:

extension=php_mysqli.dll

and add an extra section called:

[mysqli]
mysqli.max_links=-1
mysqli.default_port=3306
mysqli.default_socket=
mysqli.default_host=
mysqli.default_user=
mysqli.default_pw=

try the following only if you have php5 installed

you need to take the php.ini out of the windows directory and place it in the c:\php directory.

also you need to set the paths to c:\php in the environment variables.

then you need to copy libmysql.dll from c:\php to the windows directory

then you need to restart

详细参见:

http://forums.mysql.com/read.php?52,68276,95776#msg-95776
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: