PhpCalltoundefinedfunctionmssql_connect ()

Source: Internet
Author: User
Now, if you want to connect MSSQL2000 and import MSSQL data to MYSQL, you cannot connect MSSQL, and the system prompts Calltoundefinedfunctionmssql_connect (). step 1 :... now, if you want to connect MSSQL2000 and import MSSQL data to MYSQL, you will not be able to connect MSSQL, and the message "Call to undefined function mssql_connect ()" will be displayed ().

Steps:

1: The Semicolon before php. ini extension = php_mssql.dll is removed.

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 and copied it to the system32 directory, and also to the windows directory.

The key step is not done!

Place ntwdblib. dll in the system's search path and upgrade SQL Server 2000 to SP4. otherwise, php cannot connect to Port 1433 of SQL server after mssql_connect.

Address:

Reprinted at will, but please attach the article address :-)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.