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
- Repository: https://github.com/microsoft/msphpsql
- Releases: https://github.com/microsoft/msphpsql/releases
- Documentation: https://learn.microsoft.com/sql/connect/php/
Updated Nov 19, 2026
Version 1.0DavidLevy
Microsoft
Joined February 28, 2023
SQL Server Blog
Follow this blog board to get notified when there's new activity