mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fixed building sockets on PHP 8.0 and PHP 8.1
This commit is contained in:
@@ -457,6 +457,10 @@ RUN set -eux \
|
||||
|
||||
# -------------------- Installing PHP Extension: sockets --------------------
|
||||
RUN set -eux \
|
||||
# Version specific pre-command
|
||||
&& docker-php-ext-configure sockets \
|
||||
&& sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \
|
||||
\
|
||||
# Installation: Generic
|
||||
# Type: Built-in extension
|
||||
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \
|
||||
|
||||
Reference in New Issue
Block a user