Home >Backend Development >PHP Tutorial >sql server 2000 download php Sql Server connection failure problem and solution

sql server 2000 download php Sql Server connection failure problem and solution

WBOY
WBOYOriginal
2016-07-29 08:40:341293browse

1. Confirm that the database service is open
2. Open the extension in the php.ini configuration
3. Check the database-related version
(1) Sql2000 At this time, check the version of the ntwdblib.dll file in the php directory and the apache bin directory If it matches, right-click ntwdblib.dll and look at the file properties to see the version. The ntwdblib.dll corresponding to Sql2000 should be version 7.0
(2) The ntwdblib.dll corresponding to Sql2005 is version 8.0.
If the version is incorrect, the link may fail, just check carefully.
I encountered a problem when linking to sql2005. After careful investigation and search, I found a solution. I hope it will be useful to everyone.
Attachment: Two versions of the ntwdblib.dll file. After downloading, remove the number in the name and change it to ntwdblib.dll and place it in the corresponding directory.
File packaging

The above introduces the problem and solution of sql server 2000 download php Sql Server connection failure, including the content of sql server 2000 download. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn