- The driver file must match PHP version, thread safety and bitness: e.g. php_pdo_sqlsrv_82_ts_x64 for PHP 8.2 thread safe 64 bit.
- XAMPP Apache uses thread safe (ts) PHP; IIS FastCGI uses non thread safe (nts).
- Driver 5.12 covers PHP 8.1 to 8.3, 5.13 covers 8.3 to 8.5.
- Install the Microsoft ODBC Driver 17 or 18 for SQL Server on the same machine; 5.10 and newer need ODBC 17 or 18.
Написано MuADMINS по источникуNot verified
Microsoft Learn · 2026-08-21