An early technical preview of the Microsoft Driver 4.0.3 for PHP for SQL Server is now available for download.

You can use this driver to connect your PHP application with Microsoft SQL Server. This means we can now access SQL Server, Azure SQL Database and Azure SQL from our PHP 7 apps.

Microsoft loves PHP

The Microsoft Drivers for PHP for SQL Server are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts. The release contains two drivers, the SQLSRV driver and the PDO_SQLSRV driver. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PDO for accessing data in all editions of SQL Server 2005 and later (including SQL Azure). These drivers rely on the Microsoft ODBC Driver 11 for SQL Server to handle the low-level communication with SQL Server.

We hope you enjoy using the Microsoft Drivers for PHP for SQL Server.

  • The Microsoft Drivers for PHP for SQL Server Team

If you're using PHP 7, you can download this driver at:

https://github.com/Azure/msphpsql/releases/tag/v4.0.0

If you're using PHP 5, you can download this driver at:

https://github.com/Azure/msphpsql