-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppVeyor build is breaking #157
Comments
Can you dump these files?
I'm a heavy Linux user and I have not used Windows for 10 years or more. |
Chocolatey PHP Approved Package: https://chocolatey.org/packages/php |
Chocolatey KB3035131 Approved Package: https://chocolatey.org/packages/KB3035131 |
GitHub Project: https:/jberezanski/ChocolateyPackages |
I dumped
|
Damn! I found a solution! KB3035131 0X80070422 |
I'll create a PR soon. |
Gotcha! diff --git a/.appveyor.yml b/.appveyor.yml
index 3321914..471e9af 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -7,7 +7,7 @@ cache:
- '%LOCALAPPDATA%\Composer\files'
init:
- - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
+ - SET PATH=C:\Program Files\OpenSSL;c:\tools\php71;%PATH%
environment:
matrix:
@@ -15,8 +15,10 @@ environment:
install:
- cinst -y OpenSSL.Light
+ - sc config wuauserv start= auto
+ - net start wuauserv
- cinst -y php
- - cd c:\tools\php
+ - cd c:\tools\php71
- copy php.ini-production php.ini /Y
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini |
Aweseome. I also used Windows for the last time over 10 years ago. Thanks a lot. |
I am creating a PR right now. |
* Fix AppVeyor build This commit fixes an unexpected behavior with Windows Update from AppVeyor. Installing PHP with chocolatey, some dependencies are downloaded. KB3035131 is a PHP indirect dependency and causes an error when installed, because Windows Update Service must be restarted. After some Google digging, PHPMD uses these commands to config and restart Windows Update Service. Fix #157 See https:/phpmd/phpmd/blob/0a69edf/appveyor.yml#L12-L13 * Update AppVeyor PHP 7.1 install path
Has someone any experience with AppVeyor and can help me fix the build on Windows? It seems that there is a problem installing or configuring PHP on the machine breaks.
Link to latest build on AppVeyor
The text was updated successfully, but these errors were encountered: