Skip to content

Commit ce594cb

Browse files
authored
1 parent 0febc80 commit ce594cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ install:
4747
- ps: |
4848
# Check if installation is cached
4949
if (!(Test-Path c:\tools\php)) {
50-
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version 7.4.27
50+
appveyor-retry choco install --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version 7.4.27
5151
# install sqlite
52-
appveyor-retry cinst -y sqlite
52+
appveyor-retry choco install -y sqlite
5353
Get-ChildItem -Path c:\tools\php
5454
cd c:\tools\php
5555
@@ -66,7 +66,7 @@ install:
6666
Add-Content php.ini "`n extension=php_curl.dll"
6767
6868
# Get and install the latest stable sqlsrv DLL's
69-
$DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content
69+
$DLLVersion = "5.9.0"
7070
cd c:\tools\php\ext
7171
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
7272
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"

0 commit comments

Comments
 (0)