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 missing dependency on curl extension for PHP 8 #1144

Merged
merged 1 commit into from
Feb 5, 2021

Conversation

remicollet
Copy link
Contributor

Without curl extension, extension load fails with "undefined symbol: curl_multi_ce" (PHP 8 only , build with --enable-rtld-now) so will segfault on standard build when curl extension is build shared and not loaded.

PHP 5 and 7 are not affected as this symbol is not used

@labbati labbati requested a review from SammyK February 5, 2021 14:36
@labbati labbati added the 🐛 bug Something isn't working label Feb 5, 2021
@SammyK SammyK added this to the 0.56.0 milestone Feb 5, 2021
Copy link
Contributor

@SammyK SammyK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @remicollet! 💯

@SammyK SammyK merged commit 26ffeb6 into DataDog:master Feb 5, 2021
SammyK added a commit that referenced this pull request Mar 16, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
SammyK added a commit that referenced this pull request Mar 17, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
SammyK added a commit that referenced this pull request Mar 18, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
SammyK added a commit that referenced this pull request Mar 26, 2021
* Fix "undefined symbol: curl_multi_ce" on PHP 8

This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.

* Update 8.0 and master buster containers

* Add tests and update fix

* Skip lang tests that fail the object ID diff

* Remove valgrind_config copy pasta

* Update docker-compose.yml

Co-authored-by: Luca Abbati <luca.abbati@datadoghq.com>

Co-authored-by: Levi Morrison <levi.morrison@datadoghq.com>
Co-authored-by: Luca Abbati <luca.abbati@datadoghq.com>
SammyK added a commit that referenced this pull request Apr 6, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
SammyK added a commit that referenced this pull request Apr 7, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
SammyK added a commit that referenced this pull request Apr 9, 2021
This error can occur when the curl extension is not loaded (either not compiled with PHP or compiled as a shared lib). The fix also allows us to remove curl as a required module to load ddtrace which was introduced in #1144.
@SammyK SammyK mentioned this pull request Nov 17, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants