Share via


Download Microsoft Drivers for PHP for SQL Server

Microsoft Drivers for PHP for SQL Server supports integration with SQL Server for PHP applications. These drivers are PHP extensions, through which you can read and write SQL Server data from PHP scripts. The driver provides an interface for accessing the data in Azure SQL database and all versions of SQL Server 2012 and higher (including Express Edition). The driver uses PHP functions (including PHP streams) to read and write large objects.

Using PECL, you can easily download and install PHP drivers on Linux and macOS. For more information, see Linux and macOS installation tutorial If you need to manually download and install PHP drivers for Linux and macOS, you can find the packages for these platforms on the GitHub version tag.

download

Microsoft Drivers 5.12 for PHP for SQL Server is the latest GA version.

Download Microsoft Drivers for PHP for SQL Server (Windows)
GitHub version tag v5.12.0 (Linux and macOS packages are provided here)

be careful

Please ensure that the latest version of ODBC driver is installed to ensure the best performance and security. For download information, see Download ODBC Driver for SQL Server

Version information

  • Version No.: 5.12.0
  • Issued on: January 31, 2023

If there is feedback, the best way to contact the Microsoft Drivers for PHP for SQL Server team is to GitHub repository A question was raised on the.

Release Notes

For more information about changed features in this release, see Release Notes

Previous version

This page is only available for the latest version of Microsoft Drivers for PHP. To download an earlier version, see Previous versions of Microsoft Drivers for PHP for SQL Server

See also

Start using Microsoft Drivers for PHP for SQL Server
Microsoft Drivers for PHP for SQL Server System Requirements
Microsoft PHP Drivers for SQL Server Support Matrix
Microsoft Drivers for PHP for SQL Server Programming Guide
SQLSRV Driver API Reference
PDO_SQLSRV Driver API Reference