Condividi tramite


Early technical preview of Microsoft Drivers 4.0.5 for PHP on Linux for SQL Server Released!

Dear PHP Community,

Hi all, we are delighted to share the Preview (4.0.5) of the SQLSRV and PDO_SQLSRV driver (64bit and 32bit) for Linux. Updated Linux drivers are available for applications running PHP7+ on Ubuntu 15.04, Ubuntu 16.04, and RedHat 7.2.

The major highlights of this release is the availability of PECL packages, bug fixes, and PHP 7.1 support.

Here is a summary of the bug fixes and improvements:

  • Fixed segmentation fault when calling PDOStatement::getColumnMeta on RedHat 7.2.
  • Fixed segmentation fault when fetch mode is set to ATTR_EMULATE_PREPARES on RedHat 7.2.
  • Fixed issue #139 : sqlsrv_fetch_object calls custom class constructor in static context and outputs an error.

Future Plans

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 , or via PECL . 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!

Meet Bhagdev (meetb@microsoft.com)

MSFTlovesPHP