summaryrefslogtreecommitdiffstats
path: root/20-ffi.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-30 10:48:34 +0200
committerRemi Collet <remi@php.net>2023-08-30 10:48:34 +0200
commit627e1502d5206fc341ffb78824c46ac1dc6adb1e (patch)
tree9a634f03b71baac7f7d4cc917ecd73d017d0c6a0 /20-ffi.ini
duplicate 8.2
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