Fix build of PHP-FPM 7.4 snmp module

This commit is contained in:
cytopia
2020-03-18 07:13:11 +01:00
parent 186bf71519
commit ffc8df1906
3 changed files with 13 additions and 3 deletions

View File

@@ -4,6 +4,13 @@
## Unreleased ## Unreleased
## Release 0.106
#### Fixed
- [#153](https://github.com/devilbox/docker-php-fpm/pull/153) Use numeric order for startup files
- Fix build of PHP-FPM 7.4 snmp module
## Release 0.105 ## Release 0.105
#### Fixed #### Fixed

View File

@@ -504,10 +504,9 @@ RUN set -eux \
# -------------------- Installing PHP Extension: snmp -------------------- # -------------------- Installing PHP Extension: snmp --------------------
RUN set -eux \ RUN set -eux \
# Installation: Generic # Installation: Version specific
# Type: Built-in extension # Type: Built-in extension
# Custom: configure command # Installation
&& docker-php-ext-configure snmp --with-openssl-dir \
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \
&& true && true

View File

@@ -861,6 +861,10 @@ extensions_available:
simplexml: simplexml:
already_avail: "{{ php_all_versions }}" already_avail: "{{ php_all_versions }}"
snmp: snmp:
7.4:
type: builtin
build_dep: [libssl-dev, libsnmp-dev, snmp]
run_dep: [snmp]
all: all:
type: builtin type: builtin
configure: --with-openssl-dir configure: --with-openssl-dir