共用方式為


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

Dear PHP Community,

Hi all, we are delighted to share the early technical preview of the Microsoft Driver 4.1.4 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 is bug fixes and some versioning changes 

Here is a summary of the bug fixes and improvements:

  • Drivers versioning has been redesigned as Major#.Minor#.Release#.Build#. Build number is specific to binaries and it doesn't match with the number on the source.
  • Fixed the issue with duplicate warning messages in PDO_SQLSRV drivers when error mode is set to PDO::ERRMODE_WARNING.

Going forward we plan to put the extensions on PECL, expand SQL 16 Feature Support (example: Always Encrypted), build verification/fundamental tests and bug fixes.

Getting the Preview Refresh

You can find the latest bits on our  GitHub repository , at our existing address. We provide limited support while in preview on our GitHub Issues page. As always, we welcome contributions of any kind – Pull Requests, or Feature Enhancements. I’d like to thank everyone on behalf of the team for supporting us in our endeavors to provide you with a high-quality driver. Happy downloading!

Getting the latest Production Ready Driver

You find the latest bits on our GitHub repository, Download Center or Web Platform Installer.

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