You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using FROM php:7.2-fpm-alpine with install-php-extensions newrelic and building for arm platform: linux/arm64, this results into an error.
78.56 NewRelic has been installed from https://download.newrelic.com/php_agent/release/newrelic-php5-11.4.0.17-linux-musl.tar.gz
78.56 You may need to:
78.56 - change the owner/permissions of /var/log/newrelic
78.56 (for example: chown -R www-data:www-data /var/log/newrelic)
78.56 - set the value of the newrelic.license configuration key in
78.56 /usr/local/etc/php/conf.d/newrelic.ini
78.56 (if you didn't set the NR_INSTALL_KEY environment variable)
78.56
78.56 Unable to find the file of the PHP extension "newrelic"
My guess it's because newrelic has no supported arm versions for these older php versions? It seems to work fine for more recent php versions such as 8.2
Docker image
php:7.2-fpm-alpine
Minimal Dockerfile
FROM php:7.2-fpm-alpine AS production
COPY --from=mlocati/php-extension-installer:2 /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions newrelic
---
docker-compose.yaml
services:
php:
build:
context: .
dockerfile: Dockerfile
target: production
platform: linux/arm64
The text was updated successfully, but these errors were encountered:
Version of install-php-extensions
mlocati/php-extension-installer:2
Error description
Hello,
When using
FROM php:7.2-fpm-alpine
withinstall-php-extensions newrelic
and building for armplatform: linux/arm64
, this results into an error.My guess it's because newrelic has no supported arm versions for these older php versions? It seems to work fine for more recent php versions such as 8.2
Docker image
php:7.2-fpm-alpine
Minimal Dockerfile
The text was updated successfully, but these errors were encountered: