Download the Microsoft Drivers for PHP for SQL Server

DownloadDownload PHP Driver

Windows

The following versions of the drivers for PHP on Windows are available for download:

Linux and macOS

The drivers for PHP are easily downloaded and installed using PECL on Linux and macOS. See the Linux and macOS installation tutorial for details. If you need to install the drivers for PHP on Linux and macOS manually, the following versions are available for download:

See also

Getting Started with the Microsoft Drivers for PHP for SQL Server

System Requirements for the Microsoft Drivers for PHP for SQL Server

Programming Guide for the Microsoft Drivers for PHP for SQL Server

SQLSRV Driver API Reference

PDO_SQLSRV Driver API Reference