Skip to content

Commit ed25dc9

Browse files
authored
Merge pull request #3307 from morozov/sqlsrv-latest
Test against the latest stable sqlsrv extension
2 parents b45ed5e + 66685dc commit ed25dc9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ install:
6868
Add-Content php.ini "`n extension=php_curl.dll"
6969
Add-Content php.ini "`n curl.cainfo=C:\tools\cacert\bundle.pem"
7070
71-
# Get and install the MSSQL DLL's
72-
$DLLVersion = "5.2.0"
71+
# Get and install the latest stable sqlsrv DLL's
72+
$DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content
7373
cd c:\tools\php\ext
7474
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
7575
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"

tests/travis/install-mssql-pdo_sqlsrv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -ex
44

55
echo "Installing extension"
6-
pecl install pdo_sqlsrv-5.2.0
6+
pecl install pdo_sqlsrv

tests/travis/install-mssql-sqlsrv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -ex
44

55
echo "Installing extension"
6-
pecl install sqlsrv-5.2.0
6+
pecl install sqlsrv

0 commit comments

Comments
 (0)