Skip to content

Commit 49e3180

Browse files
authored
Merge pull request #212 from fibis/master
Add module swoole in php 8.0
2 parents b0c3afc + b4df3bc commit 49e3180

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

.github/workflows/nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- '8.1'
4141
refs:
4242
- 'master'
43-
- '0.127'
43+
- '0.128'
4444
steps:
4545

4646
# ------------------------------------------------------------

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
## Unreleased
55

66

7+
## Release 0.128
8+
9+
#### Added
10+
- Adding `pdo_sqlsrv` to more PHP versions
11+
12+
713
## Release 0.127
814

915
#### Changed
10-
- Adding `pdo_sqlsrv` to more PHP versions
16+
- Adding `swoole` to more PHP 8.0
1117

1218

1319
## Release 0.126

Dockerfiles/mods/Dockerfile-8.0

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ RUN set -eux \
2828
libldap2-dev \
2929
libmcrypt-dev \
3030
libmemcached-dev \
31+
libnghttp2-dev \
3132
libpcre3-dev \
3233
libpng-dev \
3334
libpq-dev \
@@ -537,6 +538,17 @@ RUN set -eux \
537538
&& true
538539

539540

541+
# -------------------- Installing PHP Extension: swoole --------------------
542+
RUN set -eux \
543+
# Installation: Generic
544+
# Type: PECL extension
545+
# Custom: Pecl command
546+
&& yes yes | pecl install swoole \
547+
# Enabling
548+
&& docker-php-ext-enable swoole \
549+
&& true
550+
551+
540552
# -------------------- Installing PHP Extension: sysvmsg --------------------
541553
RUN set -eux \
542554
# Installation: Generic
@@ -689,6 +701,7 @@ RUN set -eux \
689701
libjpeg62-turbo \
690702
libmcrypt4 \
691703
libmemcachedutil2 \
704+
libnghttp2-14 \
692705
libpng16-16 \
693706
libpq5 \
694707
libsybdb5 \
@@ -868,6 +881,8 @@ RUN set -eux \
868881
&& php-fpm -m | grep -oiE '^spl$' \
869882
&& php -m | grep -oiE '^sqlsrv$' \
870883
&& php-fpm -m | grep -oiE '^sqlsrv$' \
884+
&& php -m | grep -oiE '^swoole$' \
885+
&& php-fpm -m | grep -oiE '^swoole$' \
871886
&& php -m | grep -oiE '^sysvmsg$' \
872887
&& php-fpm -m | grep -oiE '^sysvmsg$' \
873888
&& php -m | grep -oiE '^sysvsem$' \

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ Check out this table to see which Docker image provides what PHP modules.
680680
<tr>
681681
<th>8.0</th>
682682
<td id="80-base">Core, ctype, curl, date, dom, FFI, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
683-
<td id="80-mods">apcu, bcmath, blackfire, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pdo_sqlsrv, pgsql, Phar, posix, pspell, psr, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, solr, SPL, sqlite3, sqlsrv, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xdebug, xlswriter, xml, xmlreader, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
683+
<td id="80-mods">apcu, bcmath, blackfire, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pdo_sqlsrv, pgsql, Phar, posix, pspell, psr, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, solr, SPL, sqlite3, sqlsrv, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xdebug, xlswriter, xml, xmlreader, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
684684
</tr>
685685
<tr>
686686
<th>8.1</th>

build/ansible/group_vars/all/mods.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ extensions_available:
987987
build_dep: [libssh2-1-dev]
988988
run_dep: [libssh2-1]
989989
swoole:
990-
disabled: [5.2, 8.0, 8.1]
990+
disabled: [5.2, 8.1]
991991
5.3:
992992
type: pecl
993993
version: 1.9.23

0 commit comments

Comments
 (0)