Connecting to the Server

Microsoft Drivers for PHP for SQL Server

Collapse image Expand Image Copy image CopyHover image

The topics in this section describe the options and procedures for connecting to SQL Server with the Microsoft Drivers for PHP for SQL Server.

The Microsoft Drivers for PHP for SQL Server can connect to SQL Server by using Windows Authentication or by using SQL Server Authentication. By default, the Microsoft Drivers for PHP for SQL Server try to connect to the server by using Windows Authentication.

In This Section

Topic

Description

How to: Connect Using Windows Authentication

Describes how to establish a connection by using Windows Authentication.

How to: Connect Using SQL Server Authentication

Describes how to establish a connection by using SQL Server Authentication.

How to: Connect on a Specified Port

Describes how to connect to the server on a specific port.

Connection Pooling

Provides information about connection pooling in the driver.

How to: Disable Multiple Active Resultsets (MARS)

Describes how to disable the MARS feature when making a connection.

Connection Options

Lists the options that are permitted in the associative array that contains connection attributes.

PHP Driver for SQL Server Support for LocalDB

Describes Microsoft Drivers for PHP for SQL Server support for the LocalDB feature, which was added in SQL Server 2012.

PHP Driver for SQL Server Support for High Availability, Disaster Recovery

Discusses how your application can be configured to take advantage of the high-availability, disaster recovery features added in SQL Server 2012.

Connecting to SQL Azure

Discusses how to connect to a Microsoft SQL Azure database.

See Also