Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 3.53 KB

File metadata and controls

41 lines (35 loc) · 3.53 KB
title Connecting to the Server
description Learn about the different methods to connect to the database using the Microsoft Drivers for PHP for SQL Server.
ms.custom
ms.date 03/26/2018
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid c251a239-e0bd-4f45-9207-b76651072dd0
author David-Engel
ms.author v-daenge

Connecting to the Server

[!INCLUDEDriver_PHP_Download]

The topics in this section describe the options and procedures for connecting to [!INCLUDEssNoVersion] with the [!INCLUDEssDriverPHP].

The [!INCLUDEssDriverPHP] can connect to [!INCLUDEssNoVersion] by using Windows Authentication or by using SQL Server Authentication. By default, the [!INCLUDEssDriverPHP] 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 Using Azure Active Directory Authentication Describes how to set the authentication mode and connect using Azure Active Directory identities.
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.
Support for LocalDB Describes [!INCLUDEssDriverPHP] support for the LocalDB feature, which was added in [!INCLUDEssSQL11].
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 [!INCLUDEssSQL11].
Connecting to Microsoft Azure SQL Database Discusses how to connect to an Azure SQL Database.
Connection Resiliency Discusses the connection resiliency feature that reestablishes broken connections.

See Also

Programming Guide for the Microsoft Drivers for PHP for SQL Server

Example Application (SQLSRV Driver)