Merge pull request #1374 from bestlong/fix-php56-swoole-build-fail
Fix PHP56, workspace build fail: pecl/swoole requires PHP (version >= 7.0.0)
This commit is contained in:
commit
acbe7160d9
@ -121,7 +121,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||
ARG INSTALL_SWOOLE=false
|
||||
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
||||
# Install Php Swoole Extension
|
||||
pecl install swoole \
|
||||
pecl install swoole-2.0.11 \
|
||||
&& docker-php-ext-enable swoole \
|
||||
;fi
|
||||
|
||||
|
@ -263,7 +263,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||
ARG INSTALL_SWOOLE=false
|
||||
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
||||
# Install Php Swoole Extension
|
||||
pecl -q install swoole && \
|
||||
pecl -q install swoole-2.0.11 && \
|
||||
echo "extension=swoole.so" >> /etc/php/5.6/mods-available/swoole.ini && \
|
||||
ln -s /etc/php/5.6/mods-available/swoole.ini /etc/php/5.6/cli/conf.d/20-swoole.ini \
|
||||
;fi
|
||||
|
Loading…
Reference in New Issue
Block a user