From 9fedd002e8b7d56935e6abc155658c05fdc8ed92 Mon Sep 17 00:00:00 2001 From: cytopia Date: Fri, 4 Jan 2019 00:46:51 +0100 Subject: [PATCH] Fix amqp for PHP 5.3, 5.4 and 5.5 --- Dockerfiles/mods/Dockerfile-5.3 | 2 +- Dockerfiles/mods/Dockerfile-5.4 | 2 +- Dockerfiles/mods/Dockerfile-5.5 | 2 +- build/ansible/group_vars/all.yml | 6 ++++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfiles/mods/Dockerfile-5.3 b/Dockerfiles/mods/Dockerfile-5.3 index 041e32ab..1b3e5fb6 100644 --- a/Dockerfiles/mods/Dockerfile-5.3 +++ b/Dockerfiles/mods/Dockerfile-5.3 @@ -107,7 +107,7 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp \ + && pecl install amqp-1.9.3 \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ diff --git a/Dockerfiles/mods/Dockerfile-5.4 b/Dockerfiles/mods/Dockerfile-5.4 index d9323be7..82591720 100644 --- a/Dockerfiles/mods/Dockerfile-5.4 +++ b/Dockerfiles/mods/Dockerfile-5.4 @@ -107,7 +107,7 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp \ + && pecl install amqp-1.9.3 \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ diff --git a/Dockerfiles/mods/Dockerfile-5.5 b/Dockerfiles/mods/Dockerfile-5.5 index 82609d98..84112c54 100644 --- a/Dockerfiles/mods/Dockerfile-5.5 +++ b/Dockerfiles/mods/Dockerfile-5.5 @@ -108,7 +108,7 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp \ + && pecl install amqp-1.9.3 \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index 84e3eb0d..3ab76f2b 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -803,10 +803,16 @@ extensions_available: type: pecl version: 1.4.0 5.3: + type: pecl + version: 1.9.3 run_dep: [librabbitmq1] 5.4: + type: pecl + version: 1.9.3 run_dep: [librabbitmq1] 5.5: + type: pecl + version: 1.9.3 run_dep: [librabbitmq1] all: type: pecl