Early technical preview of Microsoft Drivers 4.0.3 for PHP for SQL Server Released!

Dear PHP Community,

Over the last few weeks our team has been working diligently toward developing the PDO (64bit and 32bit) variants of the driver. Today. We are announcing the early technical preview of the Microsoft Driver 4.0.3 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 support for PHP 7 (thread safe and non thread safe support) for PDO_SQLSRV.

We also have a few bug fixes to share:

  • Fixed ability to fetch a user defined object into a class
  • Fixed issue with re-preparing the same statement with referenced datetime parameters
  • Fixed issue with binding output parameters with php type string with binary and char encodings and sql types SQLSRV_SQLTYPE_NCHAR and SQLSRV_SQLTYPE_NVARCHAR.

Future Plans

Going forward we plan on a Linux port, expand SQL 16 Feature Support (example: Always Encrypted), build verification/fundamental tests, 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, be they 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!

Meet Bhagdev (meetb@microsoft.com)

MSFTlovesPHP