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
* 5.13.0-beta release changes
* Putting this change in another PR
* Resolving comments:
* Changing the release date
* Changing buildscript Readme file
* Chaning Linux-mac-installation.md file
* Update version from 5.12 to 5.13
* Removing unwanted files
* Changing the year in LICENSE
* Changing the PECL package version
* Chaning version.h file
* Skipping test since it is timing out in CI
Copy file name to clipboardExpand all lines: CHANGELOG.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,46 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
6
+
## 5.13.0-beta1 - 2026-01-30
7
+
Updated PECL release packages. Here is the list of updates:
8
+
9
+
### Added
10
+
- Support for PHP 8.4
11
+
- Support for Windows Server 2025
12
+
- Support for Ubuntu 24.04
13
+
- Support for Debian 12 and 13
14
+
- Support for Red Hat 9
15
+
- Support for Alpine 3.21, 3.22, and 3.23
16
+
- Support for macOS 14, 15, and 26
17
+
18
+
### Removed
19
+
- Support for PHP 8.1
20
+
- Support for Windows 10, Server 2012, and Server 2012 R2
21
+
- Support for Ubuntu 20.04
22
+
- Support for Debian 10
23
+
- Support for macOS 11 and 12
24
+
25
+
### Fixed
26
+
- Fixed segfault when connecting to Fabric ([PR #1549](https://github.com/microsoft/msphpsql/pull/1549))
27
+
- Enhanced error reporting in PDO driver when ODBC diagnostic retrieval fails ([PR #1549](https://github.com/microsoft/msphpsql/pull/1549))
28
+
29
+
### Limitations
30
+
- No support for inout / output params when using sql_variant type
31
+
- No support for inout / output params when formatting decimal values
32
+
- 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
- Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
35
+
- Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported
36
+
- Issue [#1050](https://github.com/microsoft/msphpsql/issues/1050) - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns
- Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7
41
+
- When pooling is enabled in Linux or macOS
42
+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
43
+
- 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)
44
+
45
+
6
46
## 5.12.0 - 2024-01-31
7
47
Updated PECL release packages. Here is the list of updates:
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
The [Microsoft Drivers for PHP for Microsoft SQL Server][phpdoc] are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PHP Data Objects (PDO) for accessing data in all editions of SQL Server 2012 and later (including Azure SQL DB). These drivers rely on the [Microsoft ODBC Driver for SQL Server][odbcdoc] to handle the low-level communication with SQL Server.
6
6
7
-
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.0+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
7
+
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.2+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
8
8
9
9
## Take our survey
10
10
@@ -37,7 +37,7 @@ Please follow the [Getting started](https://docs.microsoft.com/sql/connect/php/g
37
37
For full details on the system requirements for the drivers, see the [system requirements](https://docs.microsoft.com/sql/connect/php/system-requirements-for-the-php-sql-driver) on Microsoft Docs.
38
38
39
39
On the client machine:
40
-
- 8.1.x, 8.2.x, 8.3.x
40
+
- 8.2.x, 8.3.x, 8.4.x
41
41
-[Microsoft ODBC Driver 18, 17 or 13][odbcdoc]
42
42
- If using a Web server such as Internet Information Services (IIS) or Apache, it must be configured to run PHP
Copy file name to clipboardExpand all lines: buildscripts/README.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,15 @@
2
2
3
3
## Prerequisites
4
4
5
-
To build extensions for
6
-
1. PHP 7.0* or PHP 7.1*
7
-
* install Visual Studio 2015 and make sure C++ tools are enabled.
8
-
2. PHP 7.2* or above
9
-
* install Visual Studio 2017 (PHP 7.*) or Visual Studio 2019 (PHP 8.*), including Visual C++ toolset and the Windows SDK components.
5
+
To build extensions for PHP 8.2 or above, install Visual Studio 2019 or Visual Studio 2022, including Visual C++ toolset and the Windows SDK components.
10
6
11
-
To use the sample build scripts `builddrivers.py` and `buildtools.py`, install Python 3.x and Git for Windows (which comes with Visual Studio 2017 or 2019). If `git` is unrecognized in a regular command prompt, make sure the environment path is set up correctly.
7
+
To use the sample build scripts `builddrivers.py` and `buildtools.py`, install Python 3.x and Git for Windows. If `git` is unrecognized in a regular command prompt, make sure the environment path is set up correctly.
12
8
13
9
## Compile the drivers
14
10
15
-
You must first be able to build PHP source without including our PHP extensions. For help with building PHP 7.0* or PHP 7.1* in Windows, see the [official PHP website](https://wiki.php.net/internals/windows/stepbystepbuild). For PHP 7.2 or above, visit [PHP SDK page](https://github.com/OSTC/php-sdk-binary-tools) for new instructions.
11
+
You must first be able to build PHP source without including our PHP extensions. Visit [PHP SDK page](https://github.com/php/php-sdk-binary-tools) for instructions on building PHP in Windows.
16
12
17
-
The Microsoft Drivers for PHP for SQL Server have been compiled and tested with PHP 7.3+ using Visual Studio 2017 and PHP 8.0+ using Visual Studio 2019. The drivers for Windows that are published for each release (including previews) are digitally signed. You are recommended to sign the binaries you have compiled locally for your own development or testing purposes, using tools like Authenticode. It verifies the publisher's identity and prevents malicious actors from posing as legitimate developers.
13
+
The Microsoft Drivers for PHP for SQL Server have been compiled and tested with PHP 8.2+ using Visual Studio 2019 or Visual Studio 2022. The drivers for Windows that are published for each release (including previews) are digitally signed. You are recommended to sign the binaries you have compiled locally for your own development or testing purposes, using tools like Authenticode. It verifies the publisher's identity and prevents malicious actors from posing as legitimate developers.
18
14
19
15
### Manually building from source
20
16
@@ -68,8 +64,8 @@ PHP recommends to unzip the PHP SDK into the shortest possible path, preferrably
68
64
4. Use Command-line arguments
69
65
* Type `py builddrivers.py -h` to get a list of options and their descriptions
5. Based on the given configuration, if the script detects the presence of the PHP source directory, you can choose whether to rebuild, clean or superclean:
75
71
*`rebuild` to build again using the same configuration (32 bit, thread safe, etc.)
0 commit comments