TechNet
Export (0) Print
Expand All

Overview of the PHP SQL Driver

 

DownloadDownload PHP Driver

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.

TopicDescription
Download Microsoft PHP Driver for SQL ServerLinks to download drivers and source code for Microsoft PHP driver for SQL Server.
Release Notes for the PHP SQL DriverLists the features that were added for versions 4.0, 3.2, 3.1, 3.0, and 2.0.
Support Resources for the PHP SQL DriverProvides 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 DocumentationProvides 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 PHP SQL DriverProgramming Guide for PHP SQL DriverExample Application (SQLSRV Driver)

Community Additions

ADD
Show:
© 2016 Microsoft