Blog Post

SQL Server Blog
1 MIN READ

Microsoft Drivers for PHP for SQL Server 5.14.0 - Now with PHP 8.6 Support

DavidLevy's avatar
DavidLevy
Icon for Microsoft rankMicrosoft
Nov 19, 2026

Today we released Microsoft Drivers for PHP for SQL Server 5.14.0.

This release adds PHP 8.6 support within hours of PHP 8.6 GA, continues support for PHP 8.4 and 8.5, and removes support for PHP 8.3 and earlier. Starting with 5.14.0, new releases are published through PIE (PHP Installer for Extensions) rather than PECL.

Install 5.14.0

pie install microsoft/sqlsrv 
pie install microsoft/pdo_sqlsrv

Prebuilt binaries remain available on the GitHub releases page.

Highlights

  • Added support for PHP 8.6
  • Removed support for PHP 8.3 and earlier
  • Added PDO native input string declarations through SQLSRV_ATTR_PARAM_METADATA
  • Added UTF-8 VARCHAR options:
    • PDO::SQLSRV_ENCODING_UTF8_VARCHAR
    • SQLSRV CharacterSet => SQLSRV_ENC_UTF8_VARCHAR (utf-8-varchar)
  • Added connection option aliases including:
    • ConnectTimeout / LoginTimeout
    • FailoverPartner / Failover_Partner
    • WorkstationID / WSID
    • Password / PWD

Fixes and improvements

5.14.0 includes compatibility, reliability, and performance fixes, including:

  • PHP 8.6 API compatibility updates
  • A fix for PDO_SQLSRV fetch performance with many bound parameters
  • Improvements in Always Encrypted-related handling
  • Additional hardening in parsing and credential handling paths
  • CI/build workflow updates across supported platforms

Links

Updated Nov 19, 2026
Version 1.0
No CommentsBe the first to comment