Tuesday, September 30, 2008


If you are having trouble getting PHP5 to connect to Microsoft SQL Server (and you, like me, are unreasonably being forced to use that database instead of this one) try the following steps below:

  1. Download the good version of ntwdblib.dll (2000.80.194.0)
  2. Overwrite ntwdblib.dll in your apache/bin folder
  3. Overwrite ntwdblib.dll in your php folder
  4. Overwrite C:\WINDOWS\system32\ntwdblib.dll

You probably then want to restart everything (to be on the safe side). Good luck!

No comments: