mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-12 20:11:16 +00:00
FFI is now already available in PHP 8.0 base image
This commit is contained in:
@@ -25,7 +25,6 @@ ENV BUILD_DEPS \
|
||||
libbz2-dev \
|
||||
libevent-dev \
|
||||
libfbclient2 \
|
||||
libffi-dev \
|
||||
libfreetype6-dev \
|
||||
libgmp-dev \
|
||||
libib-util \
|
||||
@@ -111,18 +110,6 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/test/exif || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/exif || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: ffi ----
|
||||
&& git clone https://github.com/dstogov/php-ffi /tmp/ffi \
|
||||
&& cd /tmp/ffi \
|
||||
&& phpize \
|
||||
&& ./configure --with-ffi \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
\
|
||||
&& docker-php-ext-enable ffi \
|
||||
&& (rm -rf /usr/local/lib/php/test/ffi || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/ffi || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: gd ----
|
||||
&& ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \
|
||||
&& /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv \
|
||||
|
||||
@@ -647,7 +647,7 @@ Check out this table to see which Docker image provides what PHP modules.
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8.0</th>
|
||||
<td id="80-base">Core, ctype, curl, date, dom, 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>
|
||||
<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>
|
||||
<td id="80-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, 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, recode, 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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@@ -217,6 +217,7 @@ extensions_available:
|
||||
all:
|
||||
type: builtin
|
||||
ffi:
|
||||
already_avail: [8.0]
|
||||
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3]
|
||||
all:
|
||||
type: git
|
||||
|
||||
Reference in New Issue
Block a user