Redaguoti

Bendrinti naudojant


Overview of the Microsoft Drivers for PHP for SQL Server

Download 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 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 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 Microsoft Drivers for PHP for SQL Server.

In This Section

Topic Description
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 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.

Reference

SQLSRV Driver API Reference
PDO_SQLSRV Driver Reference
Constants (Microsoft Drivers for PHP for SQL Server)

See Also

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)