Skip to content

Commit 9654020

Browse files
authored
Dev (#820)
* Fixed the potential error reported by Prefast code analysis * Use SQLSRV_ASSERT for checking NULL ptrs * For these AKV tests check env despite not AE connected * Added the driver option to run functional tests * Fixed connection pooling tests for more than one ODBC drivers * added driver option to pdo isPooled.php * Removed win32 ifdefs re connection resiliency (#802) * Set the driver argument for getDSN to null by default (#798) * Added the driver argument to getDSN * Dropped the driver argument but set to null as default * Removed the AE condition in locale support * Modified the AE condition for locale support * Changed int to SQLLEN to avoid infinite loop (#806) * Version 5.3.0 (#803) * Version 5.3.0 * Fixed the wrong replacements * Added comments block to m4 files * Use dnl for comments * Modified AE fetch phptypes test to insert only one row at a time and loop through php types (#801) * Modified AE fetch phptypes test to insert only one row at a time and loop through php types * Fixed formatting * Streamlined two very similar large column name tests (#807) * Streamlined two very similar large column name tests * Changed the EOL * Updates to change log and readme (#811) * Updates to change log and readme * Dropped support for Ubuntu 17 * Modified as per review comments * Fixed connection resiliency tests for Unix, updated AppVeyor for ODBC 17.2 * Fixed expected output * Fixed output and skipifs * Fixed skipifs and output * Fixed driver name * Updated installation instructions and sample script (#813) * Updated instructions and sample test for 5.3.0 RTW * Fixed sample code to adhere to php coding standard * Fixed cases and spaces * Modified NOTE for UB 18.04 based on review comments * Added 'exit' * Modified change log and readme based on review to PR 811 * Applied review comments * build output to debug appveyor failure * removed debug output * Streamlined two very similar large column name tests (#815) * Streamlined two very similar large column name tests * Added random number of test table names to avoid operand clash issues * Replaced to with for based on review * Changelog updated * changelog updated, test skipif changed to run on unix platforms * Fixed skipif typo * Fixed typo in skipif for pdo * Fixed some output for Travis * Moved error checking inside pdo connres tests * Added links back to changelog * Fixed output for sqlsrv connres tests * Fixed output * Fixed output again
1 parent 8f9ecde commit 9654020

File tree

97 files changed

+765
-816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+765
-816
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,41 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55

6+
## 5.3.0 - 2018-07-20
7+
Updated PECL release packages. Here is the list of updates:
8+
9+
### Added
10+
- Added support for Azure Key Vault for Always Encrypted functionality. Always Encrypted functionality is supported on Linux and macOS through Azure Key Vault
11+
- Added support for connection resiliency on Linux and macOS (requires version 17.2 or higher of the [ODBC driver](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017))
12+
- Added support for macOS High Sierra (requires version 17 or higher of the [ODBC driver](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017))
13+
- Added support for Ubuntu 18.04 (requires version 17.2 or higher of the [ODBC driver](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017))
14+
15+
### Fixed
16+
- Issue [#577](https://github.com/Microsoft/msphpsql/issues/577) - Idle Connection Resiliency doesn't work with Column Encryption enabled connections (fixed in MS ODBC Driver 17.1)
17+
- Issue [#678](https://github.com/Microsoft/msphpsql/issues/678) - Idle Connection Resiliency doesn't work with Connection Pooling (fixed in MS ODBC Driver 17.1)
18+
- Issue [#699](https://github.com/Microsoft/msphpsql/issues/699) - Binding output parameters fails when the query in the stored procedure returns no data. The test case has been added to the test lab.
19+
- Issue [#705](https://github.com/Microsoft/msphpsql/issues/705) - Always Encrypted - Retrieving a negative decimal value (edge case) as output parameter causes truncation
20+
- Issue [#706](https://github.com/Microsoft/msphpsql/issues/706) - Always Encrypted - Cannot insert double with precision and scale (38, 38)
21+
- Issue [#707](https://github.com/Microsoft/msphpsql/issues/707) - Always Encrypted - Fetching decimals / numerics as output parameters bound to PDO::PARAM_BOOL or PDO::PARAM_INT returns floats, not integers
22+
- Issue [#735](https://github.com/Microsoft/msphpsql/issues/735) - Extended the buffer size for PDO::lastInsertId so that data types other than integers can be supported
23+
- Pull Request [#759](https://github.com/Microsoft/msphpsql/pull/759) - Removed the limitation of binding a binary as inout param as PDO::PARAM_STR with SQLSRV_ENCODING_BINARY
24+
- Pull Request [#775](https://github.com/Microsoft/msphpsql/pull/775) - Fixed the truncation problem for output params with SQL types specified as SQLSRV_SQLTYPE_DECIMAL or SQLSRV_SQLTYPE_NUMERIC
25+
26+
### Limitations
27+
- No support for inout / output params when using sql_variant type
28+
- 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
29+
- Always Encrypted requires [MS ODBC Driver 17+](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017)
30+
- Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
31+
- Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported
32+
- [Always Encrypted limitations](https://docs.microsoft.com/en-us/sql/connect/php/using-always-encrypted-php-drivers?view=sql-server-2017#limitations-of-the-php-drivers-when-using-always-encrypted)
33+
34+
### Known Issues
35+
- Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.6
36+
- When pooling is enabled in Linux or macOS
37+
- unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages
38+
- 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)
39+
- With ColumnEncryption enabled, calling stored procedures with XML parameters does not work (Issue [#674](https://github.com/Microsoft/msphpsql/issues/674))
40+
641
## 5.2.1-preview - 2018-06-01
742
Updated PECL release packages. Here is the list of updates:
843

LICENSE

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Copyright(c) 2017 Microsoft Corporation
2-
All rights reserved.
3-
4-
MIT License
5-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"),
6-
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
7-
and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions :
8-
9-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10-
11-
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
13-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1+
Copyright(c) 2018 Microsoft Corporation
2+
All rights reserved.
3+
4+
MIT License
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"),
6+
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
7+
and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions :
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
13+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1414
IN THE SOFTWARE.

Linux-mac-install.md

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
# PHP Linux and Mac Drivers Installation Tutorial
2-
The following instructions assume a clean environment and show how to install PHP 7.x, the Microsoft ODBC driver, Apache, and the Microsoft drivers for PHP for Microsoft SQL Server on Ubuntu 16.04 and 17.10, RedHat 7, Debian 8 and 9, Suse 12, and macOS 10.11 and 10.12. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for Microsoft SQL Server](https://github.com/Microsoft/msphpsql/releases) Github project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for Microsoft SQL Server](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver)). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver#loading-the-driver-at-php-startup).
1+
# Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
2+
The following instructions assume a clean environment and show how to install PHP 7.x, the Microsoft ODBC driver, Apache, and the Microsoft drivers for PHP for Microsoft SQL Server on Ubuntu 16.04, 17.10 and 18.04, RedHat 7, Debian 8 and 9, Suse 12, and macOS 10.11, 10.12 and 10.13. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for Microsoft SQL Server](https://github.com/Microsoft/msphpsql/releases) Github project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for Microsoft SQL Server](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver)). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver#loading-the-driver-at-php-startup).
33

4-
These instruction install PHP 7.2 by default -- see the notes at the beginning of each section to install PHP 7.0 or 7.1.
4+
These instructions install PHP 7.2 by default -- see the notes at the beginning of each section to install PHP 7.0 or 7.1.
55

66
## Contents of this page:
77

8-
- [Installing the drivers on Ubuntu 16.04 and 17.10](#installing-the-drivers-on-ubuntu-1604-and-1710)
8+
- [Installing the drivers on Ubuntu 16.04, 17.10, and 18.04](#installing-the-drivers-on-ubuntu-1604-1710-and-1804)
99
- [Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7)
1010
- [Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9)
1111
- [Installing the drivers on Suse 12](#installing-the-drivers-on-suse-12)
1212
- [Installing the drivers on macOS El Capitan, Sierra and High Sierra](#installing-the-drivers-on-macos-el-capitan-sierra-and-high-sierra)
1313

14-
## Installing the drivers on Ubuntu 16.04 and 17.10
14+
## Installing the drivers on Ubuntu 16.04, 17.10 and 18.04
1515

1616
> [!NOTE]
1717
> To install PHP 7.0 or 7.1, replace 7.2 with 7.0 or 7.1 in the following commands.
18+
> For Ubuntu 18.04, the step to add the ondrej repository is not required unless
19+
> PHP 7.0 or 7.1 is needed. However, installing PHP 7.0 or 7.1 in Ubuntu 18.04 may
20+
> not work as packages from the ondrej repository come with dependencies that may
21+
> conflict with a base Ubuntu 18.04 install.
1822
1923
### Step 1. Install PHP
2024
```
@@ -44,6 +48,7 @@ a2enmod mpm_prefork
4448
a2enmod php7.2
4549
echo "extension=pdo_sqlsrv.so" >> /etc/php/7.2/apache2/conf.d/30-pdo_sqlsrv.ini
4650
echo "extension=sqlsrv.so" >> /etc/php/7.2/apache2/conf.d/20-sqlsrv.ini
51+
exit
4752
```
4853
### Step 5. Restart Apache and test the sample script
4954
```
@@ -86,11 +91,11 @@ echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini file
8691
echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini
8792
exit
8893
```
89-
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:
94+
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):
9095
```
9196
pecl download sqlsrv
92-
tar xvzf sqlsrv-5.2.0.tgz
93-
cd sqlsrv-5.2.0/
97+
tar xvzf sqlsrv-5.3.0.tgz
98+
cd sqlsrv-5.3.0/
9499
phpize
95100
./configure --with-php-config=/usr/bin/php-config
96101
make
@@ -196,6 +201,7 @@ zypper install apache2 apache2-mod_php7
196201
a2enmod php7
197202
echo "extension=sqlsrv.so" >> /etc/php7/apache2/php.ini
198203
echo "extension=pdo_sqlsrv.so" >> /etc/php7/apache2/php.ini
204+
exit
199205
```
200206
### Step 5. Restart Apache and test the sample script
201207
```
@@ -266,47 +272,47 @@ To test this sample script, create a file called testsql.php in your system's do
266272
<?php
267273
$serverName = "yourServername";
268274
$connectionOptions = array(
269-
"Database" => "yourDatabase",
270-
"Uid" => "yourUsername",
271-
"PWD" => "yourPassword"
275+
"database" => "yourDatabase",
276+
"uid" => "yourUsername",
277+
"pwd" => "yourPassword"
272278
);
273279
274-
//Establishes the connection
280+
// Establishes the connection
275281
$conn = sqlsrv_connect($serverName, $connectionOptions);
276-
if( $conn === false ) {
277-
die( FormatErrors( sqlsrv_errors()));
282+
if ($conn === false) {
283+
die(formatErrors(sqlsrv_errors()));
278284
}
279285
280-
//Select Query
281-
$tsql= "SELECT @@Version as SQL_VERSION";
286+
// Select Query
287+
$tsql = "SELECT @@Version AS SQL_VERSION";
282288
283-
//Executes the query
284-
$getResults= sqlsrv_query($conn, $tsql);
289+
// Executes the query
290+
$stmt = sqlsrv_query($conn, $tsql);
285291
286-
//Error handling
287-
if ($getResults == FALSE)
288-
die(FormatErrors(sqlsrv_errors()));
292+
// Error handling
293+
if ($stmt === false) {
294+
die(formatErrors(sqlsrv_errors()));
295+
}
289296
?>
290297
291298
<h1> Results : </h1>
292299
293300
<?php
294-
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
295-
echo ($row['SQL_VERSION']);
296-
echo ("<br/>");
301+
while ($row = sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC)) {
302+
echo $row['SQL_VERSION'] . PHP_EOL;
297303
}
298304
299-
sqlsrv_free_stmt($getResults);
305+
sqlsrv_free_stmt($stmt);
306+
sqlsrv_close($conn);
300307
301-
function FormatErrors( $errors )
308+
function formatErrors($errors)
302309
{
303-
/* Display errors. */
310+
// Display errors
304311
echo "Error information: <br/>";
305-
foreach ( $errors as $error )
306-
{
307-
echo "SQLSTATE: ".$error['SQLSTATE']."<br/>";
308-
echo "Code: ".$error['code']."<br/>";
309-
echo "Message: ".$error['message']."<br/>";
312+
foreach ($errors as $error) {
313+
echo "SQLSTATE: ". $error['SQLSTATE'] . "<br/>";
314+
echo "Code: ". $error['code'] . "<br/>";
315+
echo "Message: ". $error['message'] . "<br/>";
310316
}
311317
}
312318
?>

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ For full details on the system requirements for the drivers, see the [system req
4747
On the client machine:
4848
- PHP 7.0.x, 7.1.x, or 7.2.x (7.2.0 and up on Unix, 7.2.1 and up on Windows)
4949
- A Web server such as Internet Information Services (IIS) is required. Your Web server must be configured to run PHP
50-
- [Microsoft ODBC Driver 17][odbc17], [Microsoft ODBC Driver 13][odbc13], or [Microsoft ODBC Driver 11][odbc11]
50+
- [Microsoft ODBC Driver 17, Microsoft ODBC Driver 13, or Microsoft ODBC Driver 11](https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-2017)
5151

5252
On the server side, Microsoft SQL Server 2008 R2 and above on Windows are supported, as are Microsoft SQL Server 2016 and above on Linux.
5353

@@ -86,14 +86,14 @@ The version number may have trailing pre-release version identifiers to indicate
8686
- Build metadata may be denoted by a plus sign followed by 4 or 5 digits, such as `1.2.3-preview+5678` or `1.2.3+5678`. Build metadata does not figure into the precedence order.
8787

8888
## Future Plans
89-
- Expand SQL Server 2016 feature support (example: Always Encrypted)
89+
- Expand SQL Server 2016 feature support (example: Azure Active Directory)
9090
- Add more verification/fundamental tests
9191
- Bug fixes
9292

9393
## Guidelines for Reporting Issues
9494
We appreciate you taking the time to test the driver, provide feedback and report any issues. It would be extremely helpful if you:
9595

96-
- First check the [FAQ](https://github.com/Microsoft/msphpsql/wiki/FAQ)
96+
- First check the [FAQ](https://github.com/Microsoft/msphpsql/wiki/FAQ) for common problems
9797
- Report each issue as a new issue (but check first if it's already been reported)
9898
- Please address the questions in the new issue template and provide scripts, table schema, and/or any details that may help reproduce the problem(s)
9999

@@ -106,15 +106,15 @@ Thank you!
106106

107107
**Q:** What's next?
108108

109-
**A:** On March 23, 2018 we released the production release version 5.2.0 of our PHP Driver. We will continue working on our future plans and releasing previews of upcoming releases frequently.
109+
**A:** On July 20, 2018 we released the production release version 5.3.0 of our PHP Driver. We will continue working on our future plans and releasing previews of upcoming releases.
110110

111111
**Q:** Is Microsoft taking pull requests for this project?
112112

113-
**A:** Yes. Please submit pull requests to the **dev** branch and not the **master** branch.
113+
**A:** Yes. Please submit pull requests to the **dev** branch, not the **master** branch.
114114

115115
## License
116116

117-
The Microsoft Drivers for PHP for SQL Server are licensed under the MIT license. See the LICENSE file for more details.
117+
The Microsoft Drivers for PHP for SQL Server are licensed under the MIT license. See the LICENSE file for more details.
118118

119119
## Code of conduct
120120

@@ -138,12 +138,6 @@ This project has adopted the Microsoft Open Source Code of Conduct. For more inf
138138

139139
[phpbuild]: https://wiki.php.net/internals/windows/stepbystepbuild
140140

141-
[phpdoc]: http://msdn.microsoft.com/library/dd903047%28SQL.11%29.aspx
142-
143-
[odbc11]: https://www.microsoft.com/download/details.aspx?id=36434
144-
145-
[odbc13]: https://www.microsoft.com/download/details.aspx?id=50420
146-
147-
[odbc17]: https://www.microsoft.com/download/details.aspx?id=56567
141+
[phpdoc]: https://docs.microsoft.com/en-us/sql/connect/php/microsoft-php-driver-for-sql-server?view=sql-server-2017
148142

149143
[PHPMan]: http://php.net/manual/install.unix.php

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ install:
8181
} Else {
8282
$env:PHP_VERSION=$env:PHP_MAJOR_VER + '.' + $env:PHP_MINOR_VER;
8383
}
84-
- echo Downloading MSODBCSQL 17.1
84+
- echo Downloading MSODBCSQL 17.2
8585
# AppVeyor build works are x64 VMs and 32-bit ODBC driver cannot be installed on it
86-
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/E/6/B/E6BFDC7A-5BCD-4C51-9912-635646DA801E/msodbcsql_17.1.0.1_x64.msi', 'c:\projects\msodbcsql_17.1.0.1_x64.msi')
87-
- cmd /c start /wait msiexec /i "c:\projects\msodbcsql_17.1.0.1_x64.msi" /q IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL
86+
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/E/6/B/E6BFDC7A-5BCD-4C51-9912-635646DA801E/en-US/msodbcsql_17.2.0.1_x64.msi', 'c:\projects\msodbcsql_17.2.0.1_x64.msi')
87+
- cmd /c start /wait msiexec /i "c:\projects\msodbcsql_17.2.0.1_x64.msi" /q IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL
8888
- echo Checking the version of MSODBCSQL
8989
- reg query "HKLM\SOFTWARE\ODBC\odbcinst.ini\ODBC Driver 17 for SQL Server"
9090
- dir %WINDIR%\System32\msodbcsql*.dll

source/pdo_sqlsrv/config.m4

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
dnl ----------------------------------------------------------------------------------------------------------------------------------
2+
dnl File: config.m4
3+
dnl
4+
dnl Contents: the code that will go into the configure script, indicating options,
5+
dnl external libraries and includes, and what source files are to be compiled.
6+
dnl
7+
dnl Microsoft Drivers 5.3 for PHP for SQL Server
8+
dnl Copyright(c) Microsoft Corporation
9+
dnl All rights reserved.
10+
dnl MIT License
11+
dnl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the ""Software""),
12+
dnl to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
13+
dnl and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions :
14+
dnl The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
15+
dnl THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
18+
dnl IN THE SOFTWARE.
19+
dnl ---------------------------------------------------------------------------------------------------------------------------------
20+
121
PHP_ARG_WITH(pdo_sqlsrv, for pdo_sqlsrv support,
222
[ --with-pdo_sqlsrv Include pdo_sqlsrv support])
323

source/pdo_sqlsrv/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// Contents: JScript build configuration used by buildconf.bat
55
//
6-
// Microsoft Drivers 5.2 for PHP for SQL Server
6+
// Microsoft Drivers 5.3 for PHP for SQL Server
77
// Copyright(c) Microsoft Corporation
88
// All rights reserved.
99
// MIT License

0 commit comments

Comments
 (0)