summaryrefslogtreecommitdiffstats
path: root/20-ffi.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-02 08:13:23 +0200
committerRemi Collet <remi@php.net>2022-09-02 08:13:23 +0200
commitb8a8e0dcae66482c106ba134f3f2a9fc2bc0b163 (patch)
treeb042ddba69a66fb60ba4491dcf32873bcbe9c8ec /20-ffi.ini
duplicate 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