jelastic-jps / new-relic-apm

New Relic Agent for advanced monitoring of your Java or PHP app’s performance
Apache License 2.0
2 stars 8 forks source link

newrelic-php5-10.11.0.3-1.x86_64 won't install #14

Closed rauladorean closed 1 year ago

rauladorean commented 1 year ago

According to https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/#php-release Release 9.19 was the last release to support ZTS builds. The following is seen when trying to install the RPM package yum --nogpgcheck -y install newrelic-php5 on an nginx node tag 1.24.0-php-8.1.21:

The upgrade of the New Relic PHP agent cannot proceed.
The previous installation remains unchanged because
an unsupported PHP with ZTS enabled has been detected.
To see an updated list of supported PHP versions, please visit:
https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/#php-release
If you have multiple PHP versions installed, please use the tar file based
installation method described here to specify which PHP versions to use:
https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-tar-file/
error: %pre(newrelic-php5-common-10.11.0.3-1.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package newrelic-php5-common-10.11.0.3-1.noarch