Skip to content

Commit acbe716

Browse files
authored
Merge pull request laradock#1374 from bestlong/fix-php56-swoole-build-fail
Fix PHP56, workspace build fail: pecl/swoole requires PHP (version >= 7.0.0)
2 parents 0077de2 + f53565f commit acbe716

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

php-fpm/Dockerfile-56

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
121121
ARG INSTALL_SWOOLE=false
122122
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
123123
# Install Php Swoole Extension
124-
pecl install swoole \
124+
pecl install swoole-2.0.11 \
125125
&& docker-php-ext-enable swoole \
126126
;fi
127127

workspace/Dockerfile-56

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
263263
ARG INSTALL_SWOOLE=false
264264
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
265265
# Install Php Swoole Extension
266-
pecl -q install swoole && \
266+
pecl -q install swoole-2.0.11 && \
267267
echo "extension=swoole.so" >> /etc/php/5.6/mods-available/swoole.ini && \
268268
ln -s /etc/php/5.6/mods-available/swoole.ini /etc/php/5.6/cli/conf.d/20-swoole.ini \
269269
;fi

0 commit comments

Comments
 (0)