Skip to content

Commit 9fedd00

Browse files
committed
Fix amqp for PHP 5.3, 5.4 and 5.5
1 parent 61352d2 commit 9fedd00

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

Dockerfiles/mods/Dockerfile-5.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RUN set -x \
107107
&& (rm -rf /usr/local/lib/php/doc/ioncube || true) \
108108
\
109109
# ---- Installing PHP Extension: amqp ----
110-
&& echo "/usr" | pecl install amqp \
110+
&& pecl install amqp-1.9.3 \
111111
&& docker-php-ext-enable amqp \
112112
&& (rm -rf /usr/local/lib/php/test/amqp || true) \
113113
&& (rm -rf /usr/local/lib/php/doc/amqp || true) \

Dockerfiles/mods/Dockerfile-5.4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RUN set -x \
107107
&& (rm -rf /usr/local/lib/php/doc/ioncube || true) \
108108
\
109109
# ---- Installing PHP Extension: amqp ----
110-
&& echo "/usr" | pecl install amqp \
110+
&& pecl install amqp-1.9.3 \
111111
&& docker-php-ext-enable amqp \
112112
&& (rm -rf /usr/local/lib/php/test/amqp || true) \
113113
&& (rm -rf /usr/local/lib/php/doc/amqp || true) \

Dockerfiles/mods/Dockerfile-5.5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ RUN set -x \
108108
&& (rm -rf /usr/local/lib/php/doc/ioncube || true) \
109109
\
110110
# ---- Installing PHP Extension: amqp ----
111-
&& echo "/usr" | pecl install amqp \
111+
&& pecl install amqp-1.9.3 \
112112
&& docker-php-ext-enable amqp \
113113
&& (rm -rf /usr/local/lib/php/test/amqp || true) \
114114
&& (rm -rf /usr/local/lib/php/doc/amqp || true) \

build/ansible/group_vars/all.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,10 +803,16 @@ extensions_available:
803803
type: pecl
804804
version: 1.4.0
805805
5.3:
806+
type: pecl
807+
version: 1.9.3
806808
run_dep: [librabbitmq1]
807809
5.4:
810+
type: pecl
811+
version: 1.9.3
808812
run_dep: [librabbitmq1]
809813
5.5:
814+
type: pecl
815+
version: 1.9.3
810816
run_dep: [librabbitmq1]
811817
all:
812818
type: pecl

0 commit comments

Comments
 (0)