mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
Add Foreign Function Interface to PHP 7.4
This commit is contained in:
@@ -710,6 +710,7 @@ extensions_enabled:
|
||||
- dom
|
||||
- enchant
|
||||
- exif
|
||||
- ffi
|
||||
- fileinfo
|
||||
- filter
|
||||
- ftp
|
||||
@@ -896,6 +897,20 @@ extensions_available:
|
||||
exif:
|
||||
all:
|
||||
type: builtin
|
||||
ffi:
|
||||
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3]
|
||||
all:
|
||||
type: git
|
||||
git_url: https://github.com/dstogov/php-ffi
|
||||
command: |
|
||||
curl -sS -O https://github.com/fpoirotte/php-ffi/commit/734630fe3d2e3efd343d3f3636b58446abd9c941.diff \
|
||||
&& git apply 734630fe3d2e3efd343d3f3636b58446abd9c941.diff \
|
||||
&& phpize \
|
||||
&& ./configure --with-ffi \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
build_dep: [libffi-dev]
|
||||
run_dep: [libffi6]
|
||||
fileinfo:
|
||||
already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
|
||||
5.2:
|
||||
|
||||
Reference in New Issue
Block a user