Unverified Commit ed25dc9c authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #3307 from morozov/sqlsrv-latest

Test against the latest stable sqlsrv extension
parents b45ed5e1 66685dc4
...@@ -68,8 +68,8 @@ install: ...@@ -68,8 +68,8 @@ install:
Add-Content php.ini "`n extension=php_curl.dll" Add-Content php.ini "`n extension=php_curl.dll"
Add-Content php.ini "`n curl.cainfo=C:\tools\cacert\bundle.pem" Add-Content php.ini "`n curl.cainfo=C:\tools\cacert\bundle.pem"
# Get and install the MSSQL DLL's # Get and install the latest stable sqlsrv DLL's
$DLLVersion = "5.2.0" $DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content
cd c:\tools\php\ext cd c:\tools\php\ext
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip" $source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip" $destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
......
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
set -ex set -ex
echo "Installing extension" echo "Installing extension"
pecl install pdo_sqlsrv-5.2.0 pecl install pdo_sqlsrv
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
set -ex set -ex
echo "Installing extension" echo "Installing extension"
pecl install sqlsrv-5.2.0 pecl install sqlsrv
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment