Page 1 of 1

Enable MSSQL in PHP 5.4

PostPosted: 19. October 2013 06:43
by shanthini
Hi

My xampp version: 1.8.2 PHP version: 5.4.19 (Thread safe) - I need to enable MSSQL

I tried enabling MSSQL extension by referring the link http://community.apachefriends.org/f/viewtopic.php?f=16&t=49670

Below are the steps I followed

1. Downloaded SQLSRV30.EXE from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=20098
2. Copied php_sqlsrv_54_ts.dll and php_pdo_sqlsrv_54_ts.dll to ext dir
3. Added the extension line in php.ini
4. Restarted apache

When starting apache this is showing the error - Specified module could not be loaded for php_sqlsrv_54_ts.dll and

php_pdo_sqlsrv_54_ts.dll

Kindly advice on this

Thanks

Re: Enable MSSQL in PHP 5.4

PostPosted: 21. October 2013 22:15
by hackattack142
Hello,

See here fore a complete list of instructions: viewtopic.php?f=16&t=54978&p=208423&hilit=sqlsrv#p208423

My guess, based on your list and assuming you have a compatible OS (not Windows XP/Windows Server 2k3), is that you did not install the native client.

Re: Enable MSSQL in PHP 5.4

PostPosted: 22. October 2013 07:25
by shanthini
Thanks for your reply. My OS is windows 7

I downloaded sqlncli.msi, Whether I need to install the package fully. It shows 19MB as disk cost
Can I install necessary features alone. My requirement is connect to the MSSQL DB, query it, doing insert delete and update.
Kindly advise for this what are the necessary features and how to select these features and install.

Thanks