Skip to content

Commit 6fa3417

Browse files
committed
Disable PHP-FPM 8.0 uploadprogress module due to startup warnings
1 parent 5f719f6 commit 6fa3417

4 files changed

Lines changed: 3 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#### Fixed
1010
- [#153](https://github.com/devilbox/docker-php-fpm/pull/153) Use numeric order for startup files
1111
- Fix build of PHP-FPM 7.4 snmp module
12-
- Fix build of PHP-FPM 8.0 uploadprogress module
12+
- Disable PHP-FPM 8.0 uploadprogress module due to startup warnings
1313

1414

1515
## Release 0.105

Dockerfiles/mods/Dockerfile-8.0

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -451,22 +451,6 @@ RUN set -eux \
451451
&& true
452452

453453

454-
# -------------------- Installing PHP Extension: uploadprogress --------------------
455-
RUN set -eux \
456-
# Installation: Generic
457-
# Type: GIT extension
458-
&& git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \
459-
&& cd /tmp/uploadprogress \
460-
# Default: Install command
461-
&& phpize \
462-
&& ./configure --enable-uploadprogress \
463-
&& make -j$(getconf _NPROCESSORS_ONLN) \
464-
&& make install \
465-
# Enabling
466-
&& docker-php-ext-enable uploadprogress \
467-
&& true
468-
469-
470454
# -------------------- Installing PHP Extension: xmlrpc --------------------
471455
RUN set -eux \
472456
# Installation: Generic
@@ -725,8 +709,6 @@ RUN set -eux \
725709
&& php-fpm -m | grep -oiE '^tidy$' \
726710
&& php -m | grep -oiE '^tokenizer$' \
727711
&& php-fpm -m | grep -oiE '^tokenizer$' \
728-
&& php -m | grep -oiE '^uploadprogress$' \
729-
&& php-fpm -m | grep -oiE '^uploadprogress$' \
730712
&& php -m | grep -oiE '^xml$' \
731713
&& php-fpm -m | grep -oiE '^xml$' \
732714
&& php -m | grep -oiE '^xmlreader$' \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Check out this table to see which Docker image provides what PHP modules.
652652
<tr>
653653
<th>8.0</th>
654654
<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>
655-
<td id="80-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, memcached, mongodb, mysqli, mysqlnd, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
655+
<td id="80-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, memcached, mongodb, mysqli, mysqlnd, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
656656
</tr>
657657
</tbody>
658658
</table>

build/ansible/group_vars/all/mods.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ extensions_available:
977977
tokenizer:
978978
already_avail: "{{ php_all_versions }}"
979979
uploadprogress:
980+
disabled: [8.0]
980981
5.2:
981982
type: pecl
982983
5.3:

0 commit comments

Comments
 (0)