Share via


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

Fixed

  • SQLSRV and PDO_SQLSRV
    • 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).

Survey

Let us know how we are doing and how you use our driver by taking our March pulse survey: https://www.surveymonkey.com/r/YDFJ23X 

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: 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
    May 15, 2017
    Get started links are broken!
    • Anonymous
      June 01, 2017
      Should be fixed! Thanks for catching it.