Επεξεργασία

Κοινή χρήση μέσω


Download the Microsoft Drivers for PHP for SQL Server

The Microsoft Drivers for PHP for SQL Server enable integration with SQL Server for PHP applications. The drivers are PHP extensions that allow the reading and writing of SQL Server data from within PHP scripts. The drivers provide interfaces for accessing data in Azure SQL Database and in all editions of SQL Server 2012 and later (including Express Editions). The drivers make use of PHP features, including PHP streams, to read and write large objects.

On Linux and macOS, the drivers for PHP are easily downloaded and installed using PECL. See the Linux and macOS installation tutorial for details. If you need to download and install the drivers for PHP on Linux and macOS manually, packages for those platforms can be found on the GitHub release tags.

Download

Microsoft Drivers 5.12 for PHP for SQL Server is the latest general availability (GA) version.

Download Microsoft Drivers for PHP for SQL Server (Windows)
GitHub Release Tag v5.12.0 (Linux and macOS packages are available here)

Note

Make sure you have the latest version of the ODBC driver installed to ensure optimal performance and security. For download information, see Download ODBC Driver for SQL Server.

Version information

  • Release number: 5.12.0
  • Released: January 31, 2023

If you have feedback, the best way to contact the Microsoft Drivers for PHP for SQL Server team is by filing an issue on the GitHub repository.

Release notes

For details about what has changed in this release, see the release notes.

Previous releases

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

See also

Getting Started with the Microsoft Drivers for PHP for SQL Server
System Requirements for the Microsoft Drivers for PHP for SQL Server
Microsoft PHP Drivers for SQL Server Support Matrix
Programming Guide for the Microsoft Drivers for PHP for SQL Server
SQLSRV Driver API Reference
PDO_SQLSRV Driver API Reference