Skip to content
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

Unhandled exit code when vcredist is not installed. #104

Closed
shivammathur opened this issue Jan 14, 2023 · 7 comments
Closed

Unhandled exit code when vcredist is not installed. #104

shivammathur opened this issue Jan 14, 2023 · 7 comments

Comments

@shivammathur
Copy link
Contributor

On GitHub Actions, I'm getting a different exit code when vcredist is not installed for x86 version of PHP.

0xC0000135 and 0xC0000139 are checked, but I'm getting 0xc000007b.

if ($exeExitCode -eq $Script:STATUS_DLL_NOT_FOUND -or $exeExitCode -eq $Script:ENTRYPOINT_NOT_FOUND -or $exeOutput -match 'vcruntime.*is not compatible with this PHP build') {

Logs: https://github.com/shivammathur/test-setup-php/actions/runs/3918173849/jobs/6698400981#step:3:1

mlocati added a commit that referenced this issue Jan 14, 2023
mlocati added a commit that referenced this issue Jan 14, 2023
@mlocati
Copy link
Owner

mlocati commented Jan 14, 2023

That 0xC000007B error is named STATUS_INVALID_IMAGE_FORMAT: maybe because a 32 bit program is trying to use a 64 bit DLL?
BTW, what about #104 ?

@mlocati
Copy link
Owner

mlocati commented Jan 14, 2023

BTW, what about #104 ?

Sorry, #105

@shivammathur
Copy link
Contributor Author

Yes, that should fix it.

@shivammathur
Copy link
Contributor Author

@mlocati Please tag a patch release.

@mlocati
Copy link
Owner

mlocati commented Jan 14, 2023

I'm not in front of a PC at the moment, but of course I'll do that asap

@mlocati
Copy link
Owner

mlocati commented Jan 14, 2023

@mlocati Please tag a patch release.

Done.

@shivammathur
Copy link
Contributor Author

Thanks for fixing this and the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants