Skip to content
Merged
62 changes: 35 additions & 27 deletions docs/connect/php/release-notes-for-the-php-sql-driver.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Release Notes for the PHP SQL Driver | Microsoft Docs"
ms.custom: ""
ms.date: "01/19/2017"
ms.date: "07/12/2017"
ms.prod: "sql-non-specified"
ms.reviewer: ""
ms.suite: ""
Expand All @@ -20,38 +20,46 @@ manager: "jhubbard"
# Release Notes for the PHP SQL Driver
[!INCLUDE[Driver_PHP_Download](../../includes/driver_php_download.md)]

This topic discusses what was added in the each version of the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)].
## What's New in Version 4.0
Support for PHP 7.0
This topic discusses what was added in each version of the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)].

Full 64-bit support
## What's New in Version 4.3

## What's New in Version 3.2
Support for PHP 5.6
- Support for PHP 7.1
- Support for Mac OS Sierra and Mac OS El Capitan
- Support for Ubuntu 15.10, and Debian 8
- Dropped support for Ubuntu 15.04
- Support for Always On Availability groups via Transparent Network IP Resolution. For more information, see [Connection Options](../../connect/php/connection-options.md).
- Added support for sql_variant data type with limitation.
- Idle Connection Resiliency support in Windows. For more information, see [Connection Options](../../connect/php/connection-options.md).
- Connection pooling support for Linux and macOS. For more information, see [Connection Pooling](../../connect/php/connection-pooling-microsoft-drivers-for-php-for-sql-server.md).
- Support for Azure Active Directory Authentication with ActiveDirectoryPassword and SqlPassword. For more information, see [Connection Options](../../connect/php/connection-options.md).

Includes latest updates for prior PHP versions 5.5 and 5.4

Requires Microsoft ODBC Driver 11 for SQL Server

## What's New in Version 3.1
Support for PHP 5.5
## What's New in Version 4.0

- Support for PHP 7.0
- Full 64-bit support
- Support for Ubuntu 15.04, Ubuntu 16.04, and RedHat 7

## What's New in Version 3.2

- Support for PHP 5.6
- Includes latest updates for prior PHP versions 5.5 and 5.4
- Requires Microsoft ODBC Driver 11 for SQL Server

Requires Microsoft ODBC Driver 11 for SQL Server. Previous versions required SQL Native Client.
## What's New in Version 3.1

- Support for PHP 5.5
- Requires Microsoft ODBC Driver 11 for SQL Server. Previous versions required SQL Native Client.

## What's New in Version 3.0
Support for PHP 5.4. PHP 5.2 is not supported in version 3 of the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)].

AttachDBFileName connection option is added. For more information, see [Connection Options](../../connect/php/connection-options.md).

Support for LocalDB, which was added in [!INCLUDE[ssSQL11](../../includes/sssql11_md.md)]. For more information, see [PHP Driver for SQL Server Support for LocalDB](../../connect/php/php-driver-for-sql-server-support-for-localdb.md).

AttachDBFileName connection option is added. For more information, see [Connection Options](../../connect/php/connection-options.md).

Support for the high-availability, disaster recovery features. For more information, see [PHP Driver for SQL Server Support for High Availability, Disaster Recovery](../../connect/php/php-driver-for-sql-server-support-for-high-availability-disaster-recovery.md).

Support for client-side cursors (caching a result set in-memory). For more information, see [Cursor Types (SQLSRV Driver)](../../connect/php/cursor-types-sqlsrv-driver.md) and [Cursor Types (PDO_SQLSRV Driver)](../../connect/php/cursor-types-pdo-sqlsrv-driver.md).

The PDO::ATTR_EMULATE_PREPARES attribute has been added. See [PDO::prepare](../../connect/php/pdo-prepare.md) for more information.

- Support for PHP 5.4. PHP 5.2 is not supported in version 3 of the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)].
- AttachDBFileName connection option is added. For more information, see [Connection Options](../../connect/php/connection-options.md).
- Support for LocalDB, which was added in [!INCLUDE[ssSQL11](../../includes/sssql11_md.md)]. For more information, see [PHP Driver for SQL Server Support for LocalDB](../../connect/php/php-driver-for-sql-server-support-for-localdb.md).
- AttachDBFileName connection option is added. For more information, see [Connection Options](../../connect/php/connection-options.md).
- Support for the high-availability, disaster recovery features. For more information, see [PHP Driver for SQL Server Support for High Availability, Disaster Recovery](../../connect/php/php-driver-for-sql-server-support-for-high-availability-disaster-recovery.md).
- Support for client-side cursors (caching a result set in-memory). For more information, see [Cursor Types (SQLSRV Driver)](../../connect/php/cursor-types-sqlsrv-driver.md) and [Cursor Types (PDO_SQLSRV Driver)](../../connect/php/cursor-types-pdo-sqlsrv-driver.md).
- The PDO::ATTR_EMULATE_PREPARES attribute has been added. For more information, see [PDO::prepare](../../connect/php/pdo-prepare.md).

## What's New in Version 2.0
In version 2.0, support for the PDO_SQLSRV driver was added. For more information, see [PDO_SQLSRV Driver Reference](../../connect/php/pdo-sqlsrv-driver-reference.md).
Expand Down
34 changes: 13 additions & 21 deletions docs/tools/sql-server-profiler/modify-trace-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,30 @@ ms.author: "jhubbard"
manager: "jhubbard"
---
# Modify trace templates
You can modify templates that are saved in a file on the local computer on which [!INCLUDE[ssSqlProfiler](../../includes/sssqlprofiler-md.md)] is running. You can also modify templates derived from those files. When you modify existing templates, you edit template properties such as event classes and data columns, in the same order that the properties were set originally, on the **Events Selection** tab of the **Trace Properties** dialog box. Event classes and data columns can be added or removed, and filters can be changed. After the template is modified, a user-specific template is created and the original system template is left intact. For more information, see [Save Traces and Trace Templates](../../tools/sql-server-profiler/save-traces-and-trace-templates.md).

You may need to derive a template from an existing trace file if you cannot remember (or have not saved) the original template that was used to create the trace, or if you want to run the same trace at a later date. When working with existing traces, you can view the properties, but you cannot modify the properties. To modify the properties, stop or pause the trace. For more information, see [Derive a Template from a Trace File or Trace Table (SQL Server Profiler)](../../tools/sql-server-profiler/derive-a-template-from-a-trace-file-or-trace-table-sql-server-profiler.md) and [Derive a Template from a Running Trace (SQL Server Profiler)](../../tools/sql-server-profiler/derive-a-template-from-a-running-trace-sql-server-profiler.md).

You can modify templates that are saved in a file on the local computer on which [!INCLUDE[ssSqlProfiler](../../includes/sssqlprofiler-md.md)] is running. You can also modify templates derived from those files. When you modify existing templates, you edit template properties such as event classes and data columns, in the same order that the properties were set originally, on the **Events Selection** tab of the **Trace Properties** dialog box. Event classes and data columns can be added or removed, and filters can be changed. After the template is modified, a user-specific template is created and the original system template is left intact. For more information, see [Save Traces and Trace Templates](../../tools/sql-server-profiler/save-traces-and-trace-templates.md).
You may need to derive a template from an existing trace file if you cannot remember (or have not saved) the original template that was used to create the trace, or if you want to run the same trace at a later date. When working with existing traces, you can view the properties, but you cannot modify the properties. To modify the properties, stop or pause the trace. For more information, see [Derive a Template from a Trace File or Trace Table (SQL Server Profiler)](../../tools/sql-server-profiler/derive-a-template-from-a-trace-file-or-trace-table-sql-server-profiler.md) and [Derive a Template from a Running Trace (SQL Server Profiler)](../../tools/sql-server-profiler/derive-a-template-from-a-running-trace-sql-server-profiler.md).
## To modify a trace template

1. On the **File** menu, point to **Templates**, and then click **Edit Template**.

2. In the **Trace Template Properties** dialog box, on the **General** tab, you can modify the server type and template name, or choose to use a default template for the server type.

3. On the **Events Selection**tab, use the grid control to add or remove events and data columns from the trace file as follows.
3. On the **Events Selection** tab, use the grid control to add or remove events and data columns from the trace file as follows.

- To add an event, expand the appropriate event category in the **Events** column, and then select the event name.

- When you add an event, all relevant data columns are included by default. To remove a data column for an event from a trace, clear the check box in the data column for the event.

- To add filters, click the data column name and specify the filter criteria in the **Edit Filter** dialog box. You can also right-click the data column name, and click **Edit Column Filter** to launch the **Edit Filter** dialog box. Click **OK** to add the filter.

4. Click **Save**, or click **Save As**to save the trace template under another name.
**To create a trace template**

4. Click **Save**, or click **Save As** to save the trace template under another name.

## Next steps
**To start a trace**
[Start a Trace](../../tools/sql-server-profiler/start-a-trace.md)
**To run a trace from a trace template**
[Create a Trace (SQL Server Profiler)](../../tools/sql-server-profiler/create-a-trace-sql-server-profiler.md)

**To modify a trace**
[Using Transact-SQL](../../relational-databases/sql-trace/modify-an-existing-trace-transact-sql.md)

**To add or remove events from a trace template or trace file**
[Using SQL Server Profiler](../../tools/sql-server-profiler/specify-events-and-data-columns-for-a-trace-file-sql-server-profiler.md)

[Using Transact-SQL](../../relational-databases/system-stored-procedures/sp-trace-setevent-transact-sql.md)

[Start a trace](../../tools/sql-server-profiler/start-a-trace.md)
[Create a trace](../../tools/sql-server-profiler/create-a-trace-sql-server-profiler.md)
[Modify an existing trace using Transact-SQL](../../relational-databases/sql-trace/modify-an-existing-trace-transact-sql.md)
[Specify events and data columns for a trace using SQL Server Profiler](../../tools/sql-server-profiler/specify-events-and-data-columns-for-a-trace-file-sql-server-profiler.md)
[sp-trace-setevent-transact-sql](../../relational-databases/system-stored-procedures/sp-trace-setevent-transact-sql.md)