My goal is to run AppDynamics in the context of a PHP application using an Alpine container. I am using the official image php:8.2-fpm-alpine which can be seen here https://hub.docker.com/layers/library/php/8.2-fpm-alpine/images/sha256-fbe14883e5e295fb5ce3b28376fafc8830bb9d29077340000121003550b84748 On the appdynamics side, I am using the archive above which was the latest to be found in the download area appdynamics-php-agent-x64-linux-24.11.0.1340.tar.bz2 I was able to successfully install the PHP agent thanks to the install script from the archive appdynamics-php-agent-linux_x64/install.sh However, when running command "php -m", I get this message Warning: PHP Startup: Unable to load dynamic library 'appdynamics_agent.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so (Error loading shared library libstdc++.so.6: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so)), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so.so: No such file or directory)) in Unknown on line 0 I tried various ways to install but then run into other problems RUN apk add --no-cache \
gcompat \
libstdc++ Which leads to Warning: PHP Startup: Unable to load dynamic library 'appdynamics_agent.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so (Error relocating /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so: __vsnprintf_chk: symbol not found), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20220829/appdynamics_agent.so.so: No such file or directory)) in Unknown on line 0 What could be wrong? I don't see much help in the documentation regarding appdynamic in the context of an alpine container.
... View more