Fixed building ffi on PHP 7.4

This commit is contained in:
cytopia
2022-01-23 18:12:24 +01:00
parent 7a2710ffc5
commit 8d8c92657a
2 changed files with 7 additions and 20 deletions

View File

@@ -183,17 +183,8 @@ RUN set -eux \
# -------------------- Installing PHP Extension: ffi --------------------
RUN set -eux \
# Installation: Generic
# Type: GIT extension
&& git clone https://github.com/dstogov/php-ffi /tmp/ffi \
&& cd /tmp/ffi \
# Custom: Install command
&& phpize \
&& ./configure --with-ffi \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
\
# Enabling
&& docker-php-ext-enable ffi \
# Type: Built-in extension
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ffi \
&& true