summaryrefslogtreecommitdiffstats
path: root/20-ffi.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-09-02 07:27:58 +0200
committerRemi Collet <remi@remirepo.net>2021-09-02 07:27:58 +0200
commitf847f63e240f9b94ffae9895b21f6da3804afd82 (patch)
treede4745a47a5263790fe4b2bd6a22c8c686ef0fc5 /20-ffi.ini
duplicate 8.0
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