Dear PHP Community,
Hi all, we are delighted to share the early technical preview of the Microsoft Driver 4.1.2 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, new functionalities and better test coverage.
Here is a summary of the bug fixes and improvements:
- Added following integer SQL Types constants for cases which function-like SQL types constants cannot be used e.g. type comparison:
Note: These constants should be used in type comparison operations (refer to issue #87 and #99 ), and don’t replace the function like constants with the similar syntax, for binding parameters you should use the function-like constants, otherwise you’ll get an error.
- Fixed issue #119 (modifying class name in sqlsrv_fetch_object).
Going forward we plan to 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!
Getting the latest Production Ready Driver
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|
Meet Bhagdev (email@example.com)