mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Added swoole module for PHP 8.1
This commit is contained in:
@@ -15,6 +15,7 @@ RUN set -eux \
|
||||
libaio-dev \
|
||||
libavif-dev \
|
||||
libbz2-dev \
|
||||
libc-ares-dev \
|
||||
libc-client-dev \
|
||||
libcurl4-openssl-dev \
|
||||
libenchant-2-dev \
|
||||
@@ -30,6 +31,7 @@ RUN set -eux \
|
||||
libmagickwand-dev \
|
||||
libmariadb-dev \
|
||||
libmemcached-dev \
|
||||
libnghttp2-dev \
|
||||
libpcre3-dev \
|
||||
libpng-dev \
|
||||
libpq-dev \
|
||||
@@ -721,6 +723,17 @@ RUN set -eux \
|
||||
&& true
|
||||
|
||||
|
||||
# -------------------- Installing PHP Extension: swoole --------------------
|
||||
RUN set -eux \
|
||||
# Installation: Generic
|
||||
# Type: PECL extension
|
||||
# Custom: Pecl command
|
||||
&& pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole \
|
||||
# Enabling
|
||||
&& docker-php-ext-enable swoole \
|
||||
&& true
|
||||
|
||||
|
||||
|
||||
|
||||
# Fix php.ini settings for enabled extensions
|
||||
@@ -772,6 +785,7 @@ RUN set -eux \
|
||||
libaio1 \
|
||||
libaspell15 \
|
||||
libavif9 \
|
||||
libc-ares2 \
|
||||
libc-client2007e \
|
||||
libenchant-2-2 \
|
||||
libevent-2.1-7 \
|
||||
@@ -783,6 +797,7 @@ RUN set -eux \
|
||||
libmagickwand-6.q16-6 \
|
||||
libmariadbd19 \
|
||||
libmemcachedutil2 \
|
||||
libnghttp2-14 \
|
||||
libpng16-16 \
|
||||
libpq5 \
|
||||
librabbitmq4 \
|
||||
@@ -1024,6 +1039,8 @@ RUN set -eux \
|
||||
&& php-fpm -m | grep -oiE '^yaml$' \
|
||||
&& php -m | grep -oiE '^zip$' \
|
||||
&& php-fpm -m | grep -oiE '^zip$' \
|
||||
&& php -m | grep -oiE '^swoole$' \
|
||||
&& php-fpm -m | grep -oiE '^swoole$' \
|
||||
&& true
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user