1
votes

I am getting following error while connecting to Sql Server 2012 in Laravel 4

PDOException SQLSTATE[IMSSP]: This extension requires the Microsoft SQL Server 2012 Native Client ODBC Driver to communicate with SQL Server. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712

As per this link http://msdn.microsoft.com/en-us/library/cc296170.aspx

I downloaded and installed these two files in xampp/php/etc/ folder

php_sqlsrv_54_ts.dll

php_pdo_sqlsrv_54_ts.dll

And added these two in the php.ini file. But still I am seeing the same error.

I am using windows 7 and xampp. Please help.

1
possible duplicate of Laravel mssql driver support - Dennis Braga

1 Answers

1
votes

I removed Xampp and installed Wamp (32 bit) server on my Windows 7, because after following almost every tutorial my xampp installation became unstable.

Following are the steps that resulted in successful connection to SQL SERVER 2012.

enter image description here

enter image description here

thats it. Hope this will help someone.