r/SQLServer • ‪ ‪Microsoft Employee ‪ • 3d ago

Community Share Microsoft Drivers for PHP for SQL Server 5.14.0 released - PHP 8.6 support

Working late tonight for a great reason - We just released Microsoft Drivers for PHP for SQL Server 5.14.0.

What changed:

  • Added support for PHP 8.6
  • Continued support for PHP 8.4 and 8.5
  • Removed support for PHP 8.3 and earlier
  • New releases now publish through PIE instead of PECL

Install:

pie install microsoft/sqlsrv
pie install microsoft/pdo_sqlsrv

Full blog post: https://techcommunity.microsoft.com/blog/sqlserver/microsoft-drivers-for-php-for-sql-server-5-14-0---now-with-php-8-6-support/4574976

11 Upvotes

2 comments sorted by

4

u/TrollingForFunsies 3d ago

Don't envy you folks but thanks for keeping up with the h4x0rs

1

u/Discordbothost 1d ago

If PIE installs cleanly but the site says 'could not find driver', check PDO::getAvailableDrivers() in a local request handled by that PHP-FPM pool. php -m only tells you what the CLI loaded.