PHP5.4 connecting to SQL SERVER 2008

Source: Internet
Author: User

Local Environment:

XAMPP 1.8.2

PHP 5.4.31

SQL SERVER R2

The DLLs used

Php_sqlsrv_54_ts.dll

Php_pdo_sqlsrv_54_ts.dll

Current error:

   Array    (        [0] = =Array            (                [0] = =IMSSP [SQLSTATE]=IMSSP [1] =-49[Code]+ =-49                [2] = This extension requires the Microsoft SQL Server Native Client. Access the following URL to download the Microsoft SQL Server Native Client ODBC Driver forX86:http://go.microsoft.com/fwlink/?linkid=163712[message] = This extension requires the Microsoft SQL Server Native Client. Access the following URL to download the Microsoft SQL Server Native Client ODBC Driver forX86:http://go.microsoft.com/fwlink/?linkid=163712            )    )

According to this post address error information, should download x64.

Download microsoft®sql server®2012 Native Client to this address

Official Forum Address: https://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqldriverforphp&sort= relevancedesc&brandignore=true&searchterm=php5.4+sql+server+2008

PHP5.4 connecting to SQL SERVER 2008

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.