PHP SQL Server connection failure problem and solution _php tips

Source: Internet
Author: User
1, confirm the database service open state
2, php.ini configuration in the extension open
3, check the database-related version
(1) Sql2000 at this point to check the PHP directory and Apache bin directory of the version of the Ntwdblib.dll file is compliant, right click Ntwdblib.dll Look at the file properties can see the version. Sql2000 corresponding Ntwdblib.dll should be a version of 7.0
(2) When the Sql2005 Ntwdblib.dll corresponds to the version of 8.0.
If the version is incorrect, a link failure may occur, and you can check it carefully.
I am in the link sql2005 of the problems encountered, after careful investigation and search to find a solution, I hope to be useful to everyone.

Attachment: Two versions of Ntwdblib.dll files, after downloading the name of the number removed, into Ntwdblib.dll into the corresponding directory.

File packaging
Related Article

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.