Connecting to the Server
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 |
---|---|
Describes how to establish a connection by using Windows Authentication. |
|
Describes how to establish a connection by using SQL Server Authentication. |
|
Describes how to connect to the server on a specific port. |
|
Provides information about connection pooling in the driver. |
|
Describes how to disable the MARS feature when making a connection. This feature was added in version 1.1 of the Microsoft Drivers for PHP for SQL Server. |
|
Lists the options that are permitted in the associative array that contains connection attributes. |
See Also
Tasks
Example Application (SQLSRV Driver)