klaubert / waf-fle

WAF-FLE, ModSecurity Console
http://waf-fle.org
GNU General Public License v2.0
140 stars 74 forks source link

apc_fetch under PHP 8 #79

Open JastrzebskiKrzysztof opened 1 year ago

JastrzebskiKrzysztof commented 1 year ago

php-apcu-bc is dropped in PHP 8 Also https://pecl.php.net/package/apcu_bc have no compatible release. Setting: $APC_ON = false; in config.php or trying to workaround in functions.php: if ($haveAPC && ini_get('apc.enabled')) { $APC_ON = false; } else { $APC_ON = false; } still issues: "Call to undefined function apc_fetch()". It makes waf-fle unusable under many distributions (debian bookworm for example).