Now, if you want to connect MSSQL2000 and import MSSQL data to MYSQL, you cannot connect MSSQL,
Message: Call to undefined function mssql_connect ()
Steps:
1: php. ini
Remove the semicolon before extension = php_mssql.dll
2:
Copy php_mssql.dll to the ext Directory. The ext directory is the extension_dir Directory. php_mssql.dll is not found in PHP5. It was copied from the previous PHP4. I don't know if the version is correct,
3: modified php_mssql.dll. Copied it to the system32 directory, and copied it to the windows directory.
Resolution method
1: php. ini
Remove the semicolon before extension = php_mssql.dll
Correct. Required
2:
Copy php_mssql.dll to the ext Directory. The ext directory is the extension_dir Directory. php_mssql.dll is not found in PHP5. It was copied from the previous PHP4. I don't know if the version is correct,
Yes.
3: modified php_mssql.dll. Copied it to the system32 directory, and copied it to the windows directory.
It's okay if you don't need this.
The key step is not done!
Place ntwdblib. dll in the system's search path
Upgrade SQL Server 2000 to SP4. Otherwise, php cannot connect to Port 1433 of SQL server after mssql_connect.