elastic / apm-agent-php

Apache License 2.0
252 stars 69 forks source link

apm-agent-php versus used extension version. #1112

Closed hetii closed 5 months ago

hetii commented 8 months ago

Hi.

I use apm-agent-php (1.10.0) and notice that installer use elastic_apm-20210902.so while on storage there is also elastic_apm-20220829.

Is it a bug? Do we need all that different extension in different versions?

obraz

obraz

SergeyKleyman commented 5 months ago

@hetii Thank you for opening an issue. No it's not a bug. Those dates in .so files are what is called "PHP API" version. Usually each PHP major.minor release a different "PHP API" version and require a different .so file for extension. Elastic APM PHP agent installer automatically detects the current PHP version and references the correct .so file.

SergeyKleyman commented 5 months ago

Closing it for now - please let us know if it's still relevant.