We recently released Microsoft Drivers for PHP for SQL Server, version 5.8.0. This production release of the SQLSRV and PDO_SQLSRV drivers has been built with PHP 7.2, 7.3, and 7.4 and tested on all supported platforms.
Notable items about this release since the previous production release include:
Alpine Linux support is currently experimental. Production support will be added in a future release.
On Alpine Linux, the Client-Side Cursors feature may cause an access violation if both sqlsrv and pdo_sqlsrv are enabled. Either enable only sqlsrv or pdo_sqlsrv, or build PHP from source by compiling the drivers statically.
Connection pooling on Linux or macOS is not recommended with unixODBC < 2.3.7
When pooling is enabled in Linux or macOS
unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples here
Let us know how we are doing and how you use our drivers by taking our pulse survey.