Environment xp sp3/iis6 php6 my iis installation package is downloaded from the internet and does not use the original system CD installation package. Iis6 integrates the php5 environment, which is not described here. This section describes the mysql connection problems I encountered during the configuration process. The system exception prompt is: error: Call to undefined function mysql_connect () in. By checking the php configuration information, I found that there were not many mysql support solutions. 1. Check the php environment. <? Php phpinfo ();?> If the php. ini path can be correctly found by the system, the above interface will be displayed. The extension_dir path is incorrect. If the path is incorrect. ini, find extension_dir, and modify extension = php_mysql.dll to check whether php is enabled. whether to remove the semicolon before extension = php_mysql.dll in ini from php. in the configuration file of ini, find mysql column configuration as follows: mysql. default_port = 3306mysql. default_host = localhostmysql. default_user = root2, libmysql. dll check whether libmysql exists in C: \ WINDOWS \ system32. dll file. If no, copy one from the php installation path to system32 and check the php environment configuration again. The information indicates that the mysql configuration is successful!