Fix snmp module for PHP 7.4

This commit is contained in:
cytopia
2022-03-21 16:22:06 +01:00
parent e97261bc87
commit 6a00f19e88
2 changed files with 3 additions and 2 deletions

View File

@@ -611,8 +611,8 @@ RUN set -eux \
RUN set -eux \ RUN set -eux \
# Installation: Version specific # Installation: Version specific
# Type: Built-in extension # Type: Built-in extension
# Default: configure command # Custom: configure command
&& docker-php-ext-configure snmp --with-openssl-dir \ && docker-php-ext-configure snmp --with-snmp \
# Installation # Installation
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \
&& true && true

View File

@@ -1081,6 +1081,7 @@ extensions_available:
snmp: snmp:
7.4: 7.4:
type: builtin type: builtin
configure: --with-snmp
build_dep: [libssl-dev, libsnmp-dev, snmp] build_dep: [libssl-dev, libsnmp-dev, snmp]
run_dep: [snmp] run_dep: [snmp]
all: all: