Skip to content

Commit 6a00f19

Browse files
committed
Fix snmp module for PHP 7.4
1 parent e97261b commit 6a00f19

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfiles/mods/Dockerfile-7.4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ RUN set -eux \
611611
RUN set -eux \
612612
# Installation: Version specific
613613
# Type: Built-in extension
614-
# Default: configure command
615-
&& docker-php-ext-configure snmp --with-openssl-dir \
614+
# Custom: configure command
615+
&& docker-php-ext-configure snmp --with-snmp \
616616
# Installation
617617
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \
618618
&& true

build/ansible/group_vars/all/mods.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,7 @@ extensions_available:
10811081
snmp:
10821082
7.4:
10831083
type: builtin
1084+
configure: --with-snmp
10841085
build_dep: [libssl-dev, libsnmp-dev, snmp]
10851086
run_dep: [snmp]
10861087
all:

0 commit comments

Comments
 (0)