You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Data Classification Sensitivity Metadata Retrieval](https://github.com/microsoft/msphpsql/wiki/Features#data-classification-sensitivity-metadata), which requires [MS ODBC Driver 17.2+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) and [SQL Server 2019 release candidate](https://docs.microsoft.com/sql/sql-server/sql-server-ver15-release-notes?view=sqlallproducts-allversions#-release-candidate-rc)
14
+
15
+
### Removed
16
+
- Dropped support for Ubuntu 18.10
17
+
18
+
### Fixed
19
+
- Issue [#570](https://github.com/microsoft/msphpsql/issues/570) - Fixed fetching varbinary data using client buffer with sqlsrv
20
+
- Pull Request [#972](https://github.com/microsoft/msphpsql/pull/972) - Removed redundant calls to retrieve the number of columns or rows in the current query result set
21
+
- Pull Request [#978](https://github.com/microsoft/msphpsql/pull/978) - PDO_SQLSRV implementation of PDO::getColumnMeta now references cached metadata rather than making an ODBC call every time
22
+
- Pull Request [#979](https://github.com/microsoft/msphpsql/pull/979) - Added support for data classification Sensitivity metadata retrieval
23
+
- Pull Request [#985](https://github.com/microsoft/msphpsql/pull/985) - Fixed memory issues with data classification data structures
24
+
- Issue [#432](https://github.com/microsoft/msphpsql/issues/432) - Having any invalid UTF-8 name in the connection string will no longer invoke misleading error messages
25
+
- Issue [#909](https://github.com/microsoft/msphpsql/issues/909) - Fixed potential exception with locale issues in macOS
26
+
- Pull Request [#992](https://github.com/microsoft/msphpsql/pull/992) - Produced the correct error when requesting Data Classification metadata with ODBC drivers prior to 17
- Pull Request [#1004](https://github.com/microsoft/msphpsql/pull/1004) - Fixed another compilation issue with PHP 7.4 alpha
29
+
- Pull Request [#1008](https://github.com/microsoft/msphpsql/pull/1008) - Improved data caching when fetching datetime objects
30
+
- Pull Request [#1011](https://github.com/microsoft/msphpsql/pull/1011) - Fixed a potential buffer overflow when parsing for escaped braces in the connection string
31
+
- Pull Request [#1015](https://github.com/microsoft/msphpsql/pull/1015) - Fixed compilation issues and addressed various memory leaks detected by PHP 7.4 beta 1
32
+
33
+
### Limitations
34
+
- No support for inout / output params when using sql_variant type
35
+
- No support for inout / output params when formatting decimal values
36
+
- In Linux and macOS, setlocale() only takes effect if it is invoked before the first connection. Attempting to set the locale after connecting will not work
- Data Classification metadata retrieval is not compatible with ODBC Driver 17.4.1
44
+
- Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7
45
+
- When pooling is enabled in Linux or macOS
46
+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
47
+
- due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples [here](https://github.com/Microsoft/msphpsql/wiki/Features#pooling)
48
+
- With ColumnEncryption enabled, calling stored procedures with XML parameters does not work (Issue [#674](https://github.com/Microsoft/msphpsql/issues/674))
49
+
6
50
## 5.6.1 - 2019-03-19
7
51
Updated PECL release packages. Here is the list of updates:
### Step 5. Restart Apache and test the sample script
@@ -91,8 +92,8 @@ exit
91
92
An issue in PECL may prevent correct installation of the latest version of the drivers even if you have upgraded GCC. To install, download the packages and compile manually (similar steps for pdo_sqlsrv):
92
93
```
93
94
pecl download sqlsrv
94
-
tar xvzf sqlsrv-5.6.1.tgz
95
-
cd sqlsrv-5.6.1/
95
+
tar xvzf sqlsrv-5.7.0.tgz
96
+
cd sqlsrv-5.7.0/
96
97
phpize
97
98
./configure --with-php-config=/usr/bin/php-config
98
99
make
@@ -116,7 +117,7 @@ sudo apachectl restart
116
117
```
117
118
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
118
119
119
-
## Installing the drivers on Debian 8and 9
120
+
## Installing the drivers on Debian 8, 9 and 10
120
121
121
122
> [!NOTE]
122
123
> To install PHP 7.1 or 7.2, replace 7.3 in the following commands with 7.1 or 7.2.
@@ -145,19 +146,20 @@ locale-gen
145
146
sudo pecl install sqlsrv
146
147
sudo pecl install pdo_sqlsrv
147
148
sudo su
148
-
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini
149
-
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
### Step 5. Restart Apache and test the sample script
163
165
```
@@ -168,7 +170,7 @@ To test your installation, see [Testing your installation](#testing-your-install
168
170
## Installing the drivers on Suse 12 and 15
169
171
170
172
> [!NOTE]
171
-
> In the following instructions, replace <SuseVersion> with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1, and similarly for other versions. Not all versions of PHP are available for all versions of Suse Linux - please refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
173
+
> In the following instructions, replace <SuseVersion> with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1. For Suse 12, use SLE_12_SP4 (or above if applicable). Not all versions of PHP are available for all versions of Suse Linux - please refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or to `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
172
174
173
175
> [!NOTE]
174
176
> Packages for PHP 7.3 are not available for Suse 12.
0 commit comments