summaryrefslogtreecommitdiffstats
path: root/20-ffi.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-05-11 10:48:41 +0200
committerRemi Collet <remi@php.net>2022-05-11 10:48:41 +0200
commit43ce9a2b4f9c0878d38d9b064b2c5fc47f04cf7b (patch)
treef4709016b21267bcfafae6fd997ee6234226bcd4 /20-ffi.ini
dup 8.1
Diffstat (limited to '20-ffi.ini')
-rw-r--r--20-ffi.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/20-ffi.ini b/20-ffi.ini
new file mode 100644
index 0000000..0bce40d
--- /dev/null
+++ b/20-ffi.ini
@@ -0,0 +1,13 @@
+; Enable ffi extension module
+extension=ffi
+
+; FFI API restriction. Possibe values:
+; "preload" - enabled in CLI scripts and preloaded files (default)
+; "false" - always disabled
+; "true" - always enabled
+;ffi.enable=preload
+
+; List of headers files to preload, wildcard patterns allowed.
+; /usr/share/php/preload used by for RPM packages
+; /usr/local/share/php/preload may be used for local files
+ffi.preload=/usr/share/php/preload/*.h:/usr/local/share/php/preload/*.h