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

Add check in workflows to test for "php -i > /dev/null" to be empty #232

Open
DracoBlue opened this issue Oct 12, 2021 · 0 comments
Open

Comments

@DracoBlue
Copy link
Member

DracoBlue commented Oct 12, 2021

Current

docker run --rm  --entrypoint php exozet/php-fpm:8.0.6-sudo-alpine -- -i > /dev/null

returns:

PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so (Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so))) in Unknown on line 0```

which is a warning because a dependency for imagick is missing. We could have spotted this easily if we would have checked for warnings.
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

1 participant