1
0
mirror of https://github.com/danog/dns.git synced 2025-01-23 05:51:11 +01:00

Change PHP path to c:\tools\php71 on Appveyor

This commit is contained in:
Niklas Keller 2017-06-23 14:49:49 +02:00
parent 18427385bc
commit 0f911d58d5

View File

@ -17,12 +17,12 @@ init:
- SET ANSICON=121x90 (121x90) - SET ANSICON=121x90 (121x90)
install: install:
- IF EXIST c:\tools\php (SET PHP=0) - IF EXIST c:\tools\php71 (SET PHP=0)
- IF %PHP%==1 sc config wuauserv start= auto - IF %PHP%==1 sc config wuauserv start= auto
- IF %PHP%==1 net start wuauserv - IF %PHP%==1 net start wuauserv
- IF %PHP%==1 cinst -y OpenSSL.Light - IF %PHP%==1 cinst -y OpenSSL.Light
- IF %PHP%==1 cinst -y php - IF %PHP%==1 cinst -y php
- cd c:\tools\php - cd c:\tools\php71
- IF %PHP%==1 copy php.ini-production php.ini /Y - IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini - IF %PHP%==1 echo extension_dir=ext >> php.ini