Microsoft Drivers 4.1.8 Previews for PHP for SQL Server Released!

Hi all, we are delighted to share the Preview of the Microsoft Drivers 4.1.8 for PHP for SQL Server. The new driver enables access to SQL Server, Azure SQL Database and Azure SQL DW from any PHP 7+ application on Windows, Linux and Mac.

The major highlights of this release are:



    • Added a workaround for a bug in unixODBC 2.3.4 when connection pooling is enabled.
    • Fixed the issue in MAC such that which driver is loaded first no longer matters.
  • SQLSRV only
    • Fixed sqlsrv_num_rows() when the client buffered result is null (issue #330).
    • Fixed conversion warnings because of some const chars (issue #332).
  • PDO_SQLSRV only
    • Improved performance by implementing a cache to store column SQL types and display sizes (issue #189).
    • Fixed issue with the unsupported attribute PDO::ATTR_PERSISTENT in connection (issue #65).
    • Fixed the issue when deleting something that doesn't exist (issue #336).


Let us know how we are doing and how you use our driver by taking our March pulse survey: 

Get Started

Getting Drivers for PHP5 and older runtimes

You can download the Microsoft Drivers for PHP for SQL Server for PHP 5.4, 5.5 and 5.6 from the download center: Version 3.0 supports PHP 5.4, version 3.1 supports PHP 5.4 and PHP 5.5 and version 3.2 supports PHP 5.4, 5.5 and 5.6.

PHP Driver Version Supported
v3.2 PHP 5.6, 5.5, 5.4
v3.1 PHP 5.5, 5.4
v3.1 PHP 5.4

Meet Bhagdev (


Comments (2)

  1. Brandon says:

    Get started links are broken!

    1. Meet Bhagdev says:

      Should be fixed! Thanks for catching it.

Skip to main content