Trace Id is missing

Copilot is your AI companion

Always by your side, ready to support you whenever and wherever you need it.
A picture of a dog with a pop up bubble saying Talk to Copilot and asking What celeb does my dog look like?

Microsoft Drivers 5.6 for PHP for SQL Server

The Microsoft Drivers 5.6 for PHP for SQL Server provide connectivity to Microsoft SQL Server from PHP applications.

Important! Selecting a language below will dynamically change the complete page content to that language.

Download
  • Version:

    5.6.1

    Date Published:

    3/20/2019

    File Name:

    SQLSRV561.EXE

    File Size:

    1.1 MB

    The Microsoft Drivers for PHP for SQL Server are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PDO for accessing data in all editions of SQL Server 2008 R2 and later.
  • Supported Operating Systems

    Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows Server 2012, Windows 8.1

  • Perform the following steps to download and install the Microsoft Drivers for PHP for SQL Server:
    1. Download SQLSRV56.EXE to a temporary directory
    2. Run SQLSRV56.EXE
    3. When prompted, enter the path to the PHP extensions directory
    4. After extracting the files, read the Installation section of the SQLSRV_Readme.htm file for next steps

    For Linux, follow the instructions at PHP Linux and Mac Drivers Installation Tutorial

    Additional information

    Community Support: SQL Server PHP Driver forum
    Submit Feedback: SQL Server Feedback
    Documentation: Microsoft Online Documentation.
    Team Blog: Browse our blog for comments from the team in the PHP Team Blog.

Follow Microsoft