Can 1.8 work with mssql and sqlsrv?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Can 1.8 work with mssql and sqlsrv?

Postby MLinus » 09. March 2013 01:14

Recently my Windows 7 computer crashed and I had to reload all my apps. Got the latest XAMPP v1.8.1 and now my mssql functions don't work. I understand that php_mssql.dll is no longer supported and sqlsrv is the new extension for accessing SQL Server but I have a lot of code running that still needs to be supported.

My question is this, can I run 1.8.1 using BOTH MS SQL versions? This way I can maintain my current code while converting to the new extension.

I have added the php_mssql.dll/php_pdo_mssql.dll to the ext directory and uncommented them out of the php.ini file. I got "php_body_write error in php5ts.dll file" and a "no ntwdblib.dll" error. I added a ntwdblib.dll file but that did not help.

I have found a bunch of posts on this issue but none that say they successfully got this to work. I appreciate any help you may be able to provide.
MLinus
 
Posts: 1
Joined: 09. March 2013 00:46
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Can 1.8 work with mssql and sqlsrv?

Postby Altrea » 09. March 2013 15:05

Hi MLinus,

A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board. Thank you.

MLinus wrote:can I run 1.8.1 using BOTH MS SQL versions? This way I can maintain my current code while converting to the new extension.

No. AFAIK PHP build in XAMPP 1.8.1 is not compiled with the old mssql functions.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6767
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 41 guests