The Microsoft Drivers for PHP for SQL Server is a PHP extension that provides data access to SQL Server 2005 and later versions including Azure SQL Database. The extension provides a procedural interface (the SQLSRV driver) and an object-oriented interface (the PDO_SQLSRV driver) for accessing data in all versions (including Express) beginning with SQL Server 2005 (support for PHP for SQL Server versions 3.1 and later begins with SQL Server 2008). The Microsoft Drivers for PHP for SQL Server API includes support for Windows Authentication, transactions, parameter binding, streaming, metadata access, and error handling.
To use the Microsoft Drivers for PHP for SQL Server you must have the correct version of SQL Server Native Client or Microsoft ODBC Driver installed on the same computer PHP is running. For more information, see System Requirements for the PHP SQL Driver.
In This Section
|Download Microsoft PHP Driver for SQL Server||Links to download drivers and source code for Microsoft PHP driver for SQL Server.|
|Release Notes for the PHP SQL Driver||Lists the features that were added for versions 4.0, 3.2, 3.1, 3.0, and 2.0.|
|Support Resources for the PHP SQL Driver||Provides links to resources that can be helpful when you are developing applications that use the Microsoft Drivers for PHP for SQL Server.|
|About Code Examples in the Documentation||Provides information that might be helpful when you run the code examples in this documentation.|