但还是显示 Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\Apache2.0\Apache Group\Apache2\htdocs\test-mysql.php on line 2 失败! Warning: mysql_close(): no MySQL-Link resource supplied in D:\Apache2.0\Apache Group\Apache2\htdocs\test-mysql.php on line 5另外不把mSQL.dll拷贝至system32下,启动apache时就提示找不到动态链接库
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\Apache2.0\Apache Group\Apache2\htdocs\test-mysql.php on line 2
失败!
Warning: mysql_close(): no MySQL-Link resource supplied in D:\Apache2.0\Apache Group\Apache2\htdocs\test-mysql.php on line 5另外不把mSQL.dll拷贝至system32下,启动apache时就提示找不到动态链接库
如楼上所言,是mysql,而不是msql
php5ts.dll也要復制到apache/bin基本上沒有問題``````````另外要加載php_mysql.dll或者php_mysqli.dll,如果是php4就不用管````默認就有支持 ```