From e1dbe3dd12405c3835878743b643e0806e7e6442 Mon Sep 17 00:00:00 2001 From: andytson-inviqa Date: Sat, 6 Jun 2026 14:08:43 +0100 Subject: [PATCH] feat: add newrelic on aarch64 builds now Newrelic supports it --- installer/base/extensions/newrelic.sh | 7 +------ test.extensions.sh | 6 ------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/installer/base/extensions/newrelic.sh b/installer/base/extensions/newrelic.sh index 99e53e6..209f613 100644 --- a/installer/base/extensions/newrelic.sh +++ b/installer/base/extensions/newrelic.sh @@ -4,12 +4,7 @@ function install_newrelic() ( set -o errexit -o pipefail - if [ "$(uname -m )" != x86_64 ]; then - echo "skipping newrelic extension, it is currently unsupported on architectures other than x86_64 / amd64" >&2 - return 0 - fi - - curl --fail --silent --show-error -L https://download.newrelic.com/php_agent/archive/9.16.0.295/newrelic-php5-9.16.0.295-linux.tar.gz -o '/tmp/newrelic.tar.gz' + curl --fail --silent --show-error -L https://download.newrelic.com/php_agent/archive/12.7.0.36/newrelic-php5-12.7.0.36-linux.tar.gz -o '/tmp/newrelic.tar.gz' tar -C /tmp -xzvf /tmp/newrelic.tar.gz diff --git a/test.extensions.sh b/test.extensions.sh index 64e8b28..b5f1268 100755 --- a/test.extensions.sh +++ b/test.extensions.sh @@ -16,12 +16,6 @@ for extension in extensions/*.sh; do extension_name="${extension%.sh}" extension_name="${extension_name#extensions/}" - # NewRelic PHP agent is currently not supporting other architectures than x86_64 / amd64 - if [ "$extension_name" = 'newrelic' ] && [ "$(uname -m)" != x86_64 ]; then - echo ' skipped' - continue - fi - if ! ./enable.sh "$extension_name" > /tmp/ext-install.log 2>&1; then echo ' failure' cat /tmp/ext-install.log