title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|
Overview of the Microsoft Drivers for PHP for SQL Server |
Learn an overview of the Microsoft SQLSRV and PDO_SQLSRV Drivers for PHP for SQL Server and how you can use them in a PHP application for database access. |
David-Engel |
davidengel |
03/27/2018 |
sql |
connectivity |
conceptual |
[!INCLUDEDriver_PHP_Download]
The [!INCLUDEssDriverPHP] 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 with the SQLSRV driver and an object-oriented interface with the PDO_SQLSRV driver for accessing data in all versions of SQL Server, including Express, beginning with SQL Server 2005. Support for versions 3.1 and later of the drivers begins with SQL Server 2008. The [!INCLUDEssDriverPHP] API includes support for Windows Authentication, transactions, parameter binding, streaming, metadata access, and error handling.
To use the [!INCLUDEssDriverPHP], 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 Microsoft Drivers for PHP for SQL Server.
Topic | Description |
---|---|
:::image type="icon" source="../../includes/media/download.svg" border="false"::: Download drivers for PHP for SQL Server | Links to download Microsoft Drivers for PHP for SQL Server. |
Release Notes for the Microsoft Drivers for PHP for SQL Server | Lists the features that were added for versions 4.0, 3.2, 3.1, 3.0, and 2.0. |
Support Resources for the Microsoft Drivers for PHP for SQL Server | Provides links to resources that can be helpful when you are developing applications that use the [!INCLUDEssDriverPHP]. |
About Code Examples in the Documentation | Provides information that might be helpful when you run the code examples in this documentation. |
SQLSRV Driver API Reference
PDO_SQLSRV Driver Reference
Constants (Microsoft Drivers for PHP for SQL Server)
Getting Started with the Microsoft Drivers for PHP for SQL Server
Programming Guide for the Microsoft Drivers for PHP for SQL Server
Example Application (SQLSRV Driver)