Partilhar via


Early technical preview of Microsoft Drivers 4.1.6 for PHP on Windows for SQL Server Released!

Hi all, we are delighted to share the early technical preview of the Microsoft Drivers 4.1.6 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.

The major highlights of this release are:

Added

  • Merged Linux and Windows code.
  • Enabled connection pooling with unixODBC. To enable pooling:
  • PECL packages for Windows.

Fixed

  • Fixed issues with sqlsrv_has_rows() to prevent it from moving statement cursor (issue #37).
  • Fixed sqlsrv client buffer size to only allow positive integers (issue #228).
  • Fixed PECL installation errors when PHP was installed from source (issue #213).
  • Fixed segmentation fault with PDOStatement::getColumnMeta() when the supplied column index is out of range (issue #224).
  • Fixed the assertion error (Linux) when fetching data from a binary column using the binary encoding (issue #226).

Get Started

Getting Drivers for PHP5 and older runtimes

You can download the Microsoft PHP Drivers for SQL Server for PHP 5.4, 5.5 and 5.6 from the download center: https://www.microsoft.com/en-us/download/details.aspx?id=20098. 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 (meetb@microsoft.com)

MSFTlovesPHP

Comments

  • Anonymous
    April 10, 2017
    When will you support "SQL 16 Feature Support (example: Always Encrypted)"?
    • Anonymous
      April 11, 2017
      We plan to support this in the next few months.