From 822405b478f7b0dbb4e7d7e03c10254cd1783d04 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 8 Mar 2018 13:41:34 +0100 Subject: [PATCH] appveyor: PHP is downloaded using cURL "03/mar/2018: We've upgraded the server bandwidth. This is however still not sufficient to handle all empty user agent connections. Please update the user agent in your scripts accordingly or contact us so we can discuss it." --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 436f74dd..d8e834bc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,8 +20,8 @@ install: - IF EXIST c:\php5 (SET PHP=0) ELSE (SET PHP=1) - IF %PHP%==1 mkdir c:\php5 - IF %PHP%==1 cd c:\php5 - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.14-Win32-VC11-x86.zip - - IF %PHP%==1 7z x php-5.6.14-Win32-VC11-x86.zip >nul + - IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-5.6.14-Win32-VC11-x86.zip --output php.zip + - IF %PHP%==1 7z x php.zip >nul - IF %PHP%==1 echo extension_dir=ext >> php.ini - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini - IF %PHP%==1 appveyor DownloadFile https://files.nette.org/misc/php-sqlsrv.zip @@ -34,8 +34,8 @@ install: - IF EXIST c:\php7 (SET PHP=0) ELSE (SET PHP=1) - IF %PHP%==1 mkdir c:\php7 - IF %PHP%==1 cd c:\php7 - - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.3-Win32-VC14-x86.zip - - IF %PHP%==1 7z x php-7.0.3-Win32-VC14-x86.zip >nul + - IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.0.3-Win32-VC14-x86.zip --output php.zip + - IF %PHP%==1 7z x php.zip >nul - IF %PHP%==1 echo extension_dir=ext >> php.ini - IF %PHP%==1 appveyor DownloadFile https://files.nette.org/misc/php-sqlsrv.zip - IF %PHP%==1 7z x php-sqlsrv.zip >nul