Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions installer/base/extensions/newrelic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 0 additions & 6 deletions test.extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down