Skip to content

Commit 2917e97

Browse files
authored
Merge pull request #2430 from Hadis-Fard/systemRequirement
updated system req for PHP driver with 4.3
2 parents c126f83 + a41728b commit 2917e97

File tree

1 file changed

+47
-14
lines changed

1 file changed

+47
-14
lines changed

docs/connect/php/system-requirements-for-the-php-sql-driver.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "System Requirements for the PHP SQL Driver | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "01/19/2017"
4+
ms.date: "07/12/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -26,6 +26,7 @@ To access data in a SQL Server or Azure SQL Database using the [!INCLUDE[ssDrive
2626

2727
|Microsoft Drivers for PHP for SQL Server Version|Supported PHP Versions|
2828
|----------------------------------------------------|--------------------------|
29+
|4.3|PHP 7.0 and PHP 7.1|
2930
|4.0|PHP 7.0|
3031
|3.2|PHP 5.6.4+ or<br /><br />PHP 5.5.16+ or<br /><br />PHP 5.4.32|
3132
|3.1|PHP 5.5.16+ or<br /><br />PHP 5.4.32|
@@ -41,31 +42,49 @@ To access data in a SQL Server or Azure SQL Database using the [!INCLUDE[ssDrive
4142
> [!NOTE]
4243
> Microsoft provides support only for IIS.
4344
44-
- The correct version of the Microsoft ODBC Driver for SQL Server or SQL Server Native Client is required on the computer where PHP is running. Note that if you are using a 64-bit operating system, the x86 version will be installed with the x64 installer (do not use the x86 version of the installer unless you are using a 32-bit operating system).
45+
- The correct version of the Microsoft ODBC Driver for SQL Server or SQL Server Native Client is required on the computer where PHP is running. If you are using a 64-bit operating system, the ODBC 64-bit installer installs both 32-bit and 64-bit ODBC drivers. If you use a 32-bit operating system, use the ODBC x86 installer.
4546

4647
|Microsoft Drivers for PHP for SQL Server Version|Version of Microsoft ODBC Driver for SQL Server or SQL Server Native Client|
47-
|----------------------------------------------------|--------------------------|
48-
|4.0|Microsoft ODBC Driver 11 for SQL Server or Microsoft ODBC Driver 13 for SQL Server. To download the x64 package for 64-bit operating systems, or x86 package for 32-bit operating systems, see the [Microsoft ODBC Driver 11 for SQL Server page](http://www.microsoft.com/download/details.aspx?id=36434) or [Microsoft ODBC Driver 13 for SQL Server page](https://www.microsoft.com/download/details.aspx?id=50420)|
49-
|3.2 or <br><br> 3.1|Microsoft ODBC Driver 11 for SQL Server. To download the x64 package for 64-bit operating systems, or x86 package for 32-bit operating systems, see the [Microsoft ODBC Driver 11 for SQL Server page](http://www.microsoft.com/download/details.aspx?id=36434)|
48+
|----------------------------------------------------|--------------------------|
49+
|4.3|Microsoft ODBC Driver 11 for SQL Server or Microsoft ODBC Driver 13.1 for SQL Server. To download Microsoft ODBC Driver, see the [Microsoft ODBC Driver 11 for SQL Server page](http://www.microsoft.com/download/details.aspx?id=36434) or [Microsoft ODBC Driver 13.1 for SQL Server page](https://www.microsoft.com/en-us/download/details.aspx?id=53339)|
50+
|4.0|Microsoft ODBC Driver 11 for SQL Server or Microsoft ODBC Driver 13 for SQL Server. To download Microsoft ODBC Driver, see the [Microsoft ODBC Driver 11 for SQL Server page](http://www.microsoft.com/download/details.aspx?id=36434) or [Microsoft ODBC Driver 13 for SQL Server page](https://www.microsoft.com/download/details.aspx?id=50420)|
51+
|3.2 or <br><br> 3.1|Microsoft ODBC Driver 11 for SQL Server. To download Microsoft ODBC Driver, see the [Microsoft ODBC Driver 11 for SQL Server page](http://www.microsoft.com/download/details.aspx?id=36434)|
5052
|3.0|Microsoft [!INCLUDE[ssSQL11](../../includes/sssql11_md.md)] Native Client. You can download Microsoft [!INCLUDE[ssSQL11](../../includes/sssql11_md.md)] Native Client from the [SQL Server 2012 feature pack page](http://go.microsoft.com/fwlink/?LinkID=236805)|
5153
|2.0|Microsoft [!INCLUDE[ssKilimanjaro](../../includes/sskilimanjaro_md.md)] Native Client:<br /><br />[Download the X86 package](http://go.microsoft.com/fwlink/?LinkID=188400&clcid=0x409) for 32-bit operating systems <br /><br />[Download the X64 package](http://go.microsoft.com/fwlink/?LinkID=188401&clcid=0x409) for 64-bit operating systems|
5254

5355

54-
If you are using the SQLSRV driver, [sqlsrv_client_info](../../connect/php/sqlsrv-client-info.md) will return information about which version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)] Native Client or Microsoft ODBC Driver for SQL Server is being used by the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)]. If you are using the PDO_SQLSRV driver, you can use [PDO::getAttribute](../../connect/php/pdo-getattribute.md) to discover the version.
56+
If you are using the SQLSRV driver, [sqlsrv_client_info](../../connect/php/sqlsrv-client-info.md) returns information about which version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)] Native Client or Microsoft ODBC Driver for SQL Server is being used by the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)]. If you are using the PDO_SQLSRV driver, you can use [PDO::getAttribute](../../connect/php/pdo-getattribute.md) to discover the version.
5557

5658

5759

5860
## Database Versions
59-
- Azure SQL Databases are supported. For information see [Connecting to Microsoft Azure SQL Database](../../connect/php/connecting-to-microsoft-azure-sql-database.md).
61+
- Azure SQL Databases are supported. For information, see [Connecting to Microsoft Azure SQL Database](../../connect/php/connecting-to-microsoft-azure-sql-database.md).
6062

61-
- [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] version 3.1 and later support SQL Server 2008 and later
63+
- [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] version 4.3 support SQL Server 2008 R2 and later
64+
- [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] version 4.0 support SQL Server 2008 and later
65+
- [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] version 3.1 support SQL Server 2008 and later
6266
- [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] version 2.0 and 3.0 support SQL Server 2005 and later
6367

6468

6569
## Driver Versions
6670
This section lists the drivers that are included with each version of the [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)].
6771

68-
Follow the installation instructions in [Loading the PHP SQL Driver](../../connect/php/loading-the-php-sql-driver.md) to configure the driver for use with the PHP runtime.
72+
To configure the driver for use with the PHP runtime, follow the installation instructions in [Loading the PHP SQL Driver](../../connect/php/loading-the-php-sql-driver.md).
73+
74+
**Microsoft Drivers 4.3 for PHP for SQL Server:**
75+
76+
On Windows, for 4.3 the following versions of the driver are installed:
77+
78+
|Driver file|PHP version|Thread safe?|Use with PHP .dll|
79+
|---------------|---------------|----------------|---------------------|
80+
|php_sqlsrv_7_nts_x86.dll<br /><br />php_pdo_sqlsrv_7_nts_x86.dll|7.0|no|32-bit php7.dll|
81+
|php_sqlsrv_7_ts_x86.dll<br /><br />php_pdo_sqlsrv_7_ts_x86.dll|7.0|yes|32-bit php7ts.dll|
82+
|php_sqlsrv_7_nts_x64.dll<br /><br />php_pdo_sqlsrv_7_nts_x64.dll|7.0|no|64-bit php7.dll|
83+
|php_sqlsrv_7_ts_x64.dll<br /><br />php_pdo_sqlsrv_7_ts_x64.dll|7.0|yes|64-bit php7ts.dll|
84+
|php_sqlsrv_71_nts_x86.dll<br /><br />php_pdo_sqlsrv_71_nts_x86.dll|7.1|no|32-bit php7.dll|
85+
|php_sqlsrv_71_ts_x86.dll<br /><br />php_pdo_sqlsrv_71_ts_x86.dll|7.1|yes|32-bit php7ts.dll|
86+
|php_sqlsrv_71_nts_x64.dll<br /><br />php_pdo_sqlsrv_71_nts_x64.dll|7.1|no|64-bit php7.dll|
87+
|php_sqlsrv_71_ts_x64.dll<br /><br />php_pdo_sqlsrv_71_ts_x64.dll|7.1|yes|64-bit php7ts.dll|
6988

7089
**Microsoft Drivers 4.0 for PHP for SQL Server:**
7190

@@ -123,7 +142,22 @@ On the supported versions of Linux, the appropriate version of sqlsrv and/or pdo
123142
If the name of the driver file contains "vc9", it should be used with a PHP version compiled with Visual C++ 9.0.
124143
## Operating Systems
125144
Supported operating systems for the versions of the driver are as follows:
126-
- 4.0 (for Windows):
145+
146+
- 4.3:
147+
- Windows Server 2012
148+
- Windows Server 2012 R2
149+
- Windows Server 2016
150+
- Windows 8
151+
- Windows 8.1
152+
- Windows 10
153+
- Ubuntu 15.10 (64-bit)
154+
- Ubuntu 16.04 (64-bit)
155+
- Debian 8 (64-bit)
156+
- Red Hat Enterprise Linux 7 (64-bit)
157+
- Mac OS Sierra (64-bit)
158+
- Mac OS El Capitan (64-bit)
159+
160+
- 4.0:
127161
- Windows Server 2008 SP2
128162
- Windows Server 2008 R2 SP1
129163
- Windows Server 2012
@@ -132,14 +166,13 @@ Supported operating systems for the versions of the driver are as follows:
132166
- Windows 7 SP1
133167
- Windows 8
134168
- Windows 8.1
135-
- Windows 10
136-
- 4.0 (for Linux):
169+
- Windows 10
137170
- Ubuntu 15.04 (64-bit)
138171
- Ubuntu 16.04 (64-bit)
139172
- Red Hat Enterprise Linux 7 (64-bit)
140173

141174

142-
- 3.2 and 3.1 :
175+
- 3.2 and 3.1:
143176
- Windows Server 2008 R2 SP1
144177
- Windows Vista SP2
145178
- Windows Server 2008 SP2
@@ -150,7 +183,7 @@ Supported operating systems for the versions of the driver are as follows:
150183
- Windows 8.1
151184

152185

153-
- 3.0 :
186+
- 3.0:
154187
- Windows Server 2008 R2 SP1
155188
- Windows Vista SP2
156189
- Windows Server 2008 SP2

0 commit comments

Comments
 (0)