File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 33set -ex
44
55echo " Installing extension"
6- pecl install pdo_sqlsrv-5.2.0
6+ pecl install pdo_sqlsrv
Original file line number Diff line number Diff line change 33set -ex
44
55echo " Installing extension"
6- pecl install sqlsrv-5.2.0
6+ pecl install sqlsrv
You can’t perform that action at this time.
0 commit comments