v5.5.0-preview
版本发布时间: 2018-12-08 05:36:03
microsoft/msphpsql最新发布版本:v5.11.0(2023-03-07 09:58:04)
We are pleased to announce the technical preview for SQLSRV and PDO_SQLSRV drivers that support PHP 7.3. Both drivers have been built with PHP 7.1+ and tested on all supported platforms (Windows, Ubuntu 16.04, 18.04, and 18.10, RedHat 7, Debian 8 and 9, Suse 12, and macOS 10.11, 10.12, 10.13 and 10.14).
Notable items about the 5.5.0-preview release,
Added
- Added support for PHP 7.3.0
- Added support for Linux Ubuntu 18.10 and mac OS Mojave
- Feature Request #415 - new options at connection and statement levels for both drivers for formatting decimal values in the fetched results
Fixed
- Pull Request #854 - Clear Azure Key Vault data after connection attributes are successfully set or when exception is thrown
- Pull Request #855 - Improved performance by saving meta data before fetching and skipping unnecessary conversions for numeric data
- Pull Request #865 - Corrected the way SQLPutData and SQLParamData are used when sending stream data to the server
- Pull Request #878 - Modified the config files to enable Spectre Mitigations for PHP 7.1 (see related Request #836)
- Pull Request #891 - Improved performance of Unicode conversions
- Pull Request #892 - Removed warning messages while compiling extensions
Limitations
- No support for inout / output params when using sql_variant type
- No support for inout / output params when formatting decimal values
- 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
- Always Encrypted requires MS ODBC Driver 17+
- Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
- Issue #716 - With Always Encrypted enabled, named parameters in subqueries are not supported
- Always Encrypted limitations
Known Issues
- Connection pooling on Linux or macOS is not recommended with unixODBC < 2.3.7
- When pooling is enabled in Linux or macOS
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
- due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples here
- With ColumnEncryption enabled, calling stored procedures with XML parameters does not work (Issue #674)
- With ColumnEncryption enabled, fetching varbinary(max), varchar(max) or nvarchar(max) may fail with ODBC Driver 17.3 CTP
Survey
Let us know how we are doing and how you use our drivers by taking our pulse survey:
Install
- On Linux and macOS run the commands below:
sudo pecl install sqlsrv-5.5.0preview
sudo pecl install pdo_sqlsrv-5.5.0preview
- To download Windows DLLs for PHP 7.1 or above from the PECL repository, please navigate to SQLSRV or PDO_SQLSRV.
1、 CentOS7-7.1.tar 1.44MB
2、 CentOS7-7.2.tar 1.44MB
3、 CentOS7-7.3.tar 1.44MB
4、 Debian8-7.1.tar 1.44MB
5、 Debian8-7.2.tar 1.44MB
6、 Debian8-7.3.tar 1.44MB
7、 Debian9-7.1.tar 1.43MB
8、 Debian9-7.2.tar 1.43MB
9、 Debian9-7.3.tar 1.43MB
10、 Mac-7.1.tar 1.29MB
11、 Mac-7.2.tar 1.29MB
12、 Mac-7.3.tar 1.29MB
13、 Suse12-7.1.tar 1.47MB
14、 Suse12-7.2.tar 1.46MB
15、 Suse12-7.3.tar 1.46MB
16、 Ubuntu16-7.1.tar 1.44MB
17、 Ubuntu16-7.2.tar 1.44MB
18、 Ubuntu16-7.3.tar 1.43MB
19、 Ubuntu1804-7.1.tar 1.43MB
20、 Ubuntu1804-7.2.tar 1.43MB
21、 Ubuntu1804-7.3.tar 1.43MB
22、 Ubuntu1810-7.1.tar 1.5MB
23、 Ubuntu1810-7.2.tar 1.5MB
24、 Ubuntu1810-7.3.tar 1.5MB
25、 Windows-7.1.zip 810.57KB
26、 Windows-7.2.zip 796.96KB
27、 Windows-7.3.zip 795.3KB