From 73045b4499fb20bd85b46cd1c076ba6242b09179 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 29 May 2024 10:03:00 +0200 Subject: [PATCH] add more missing sources Signed-off-by: Toshaan Bharvani --- SOURCES/20-ffi.ini | 13 +++++++++++++ SOURCES/opcache-default.blacklist | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 SOURCES/20-ffi.ini create mode 100644 SOURCES/opcache-default.blacklist diff --git a/SOURCES/20-ffi.ini b/SOURCES/20-ffi.ini new file mode 100644 index 0000000..0bce40d --- /dev/null +++ b/SOURCES/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 diff --git a/SOURCES/opcache-default.blacklist b/SOURCES/opcache-default.blacklist new file mode 100644 index 0000000..0cc2e18 --- /dev/null +++ b/SOURCES/opcache-default.blacklist @@ -0,0 +1,11 @@ +; The blacklist file is a text file that holds the names of files +; that should not be accelerated. The file format is to add each filename +; to a new line. The filename may be a full path or just a file prefix +; (i.e., /var/www/x blacklists all the files and directories in /var/www +; that start with 'x'). Line starting with a ; are ignored (comments). +; Files are usually triggered by one of the following three reasons: +; 1) Directories that contain auto generated code, like Smarty or ZFW cache. +; 2) Code that does not work well when accelerated, due to some delayed +; compile time evaluation. +; 3) Code that triggers an OPcache bug. +