-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Replicate] compatibility with PHP 5.x #97
Conversation
USE_OPENSSL=OFF make | ||
./dev-scripts/run_tests.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debatable: maybe we should update our CI to run it with the same version of OpenSSL instead of AWS-LC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we tried, but it was going to take a lot more work, and this seemed like a reasonable workaround for now
USE_OPENSSL=OFF make | ||
./dev-scripts/run_tests.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comments explaining hack
USE_OPENSSL=OFF make | |
./dev-scripts/run_tests.sh | |
# Normally, CRT uses the system's default libcrypto.so. | |
# But in this CI run, PHP 5.5 is using a different older libcrypto.so. | |
# When an applications uses two different libcrypto.so at the same time, things tend to explode. | |
# Therefore, in this CI run we build AWS-LC statically, and use its libcrypto.a instead. | |
USE_OPENSSL=OFF make | |
./dev-scripts/run_tests.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a bit more to explain that php5.5 cannot build with openssl>=1.1 referring to shivammathur/setup-php#714 (comment)
Issue #, if available:
#95
original: #96
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.